> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jimmyai.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 创建 VEO 首尾帧

> Create a new VEO video generation task using first and last frames.



## OpenAPI

````yaml POST /api/open-api/v1/veo/frames
openapi: 3.1.0
info:
  title: Jimmy AI OpenAPI
  description: API for Jimmy AI video generation services
  version: 1.0.0
servers:
  - url: https://www.jimmyai.cn
    description: Production server
security:
  - bearerAuth: []
paths:
  /api/open-api/v1/veo/frames:
    post:
      summary: Create VEO Frames Video Task
      description: Create a new VEO video generation task using first and last frames.
      operationId: createVeoFramesVideo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VeoFramesRequest'
      responses:
        '200':
          description: Task created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoGenerationResponse'
components:
  schemas:
    VeoFramesRequest:
      type: object
      required:
        - model
        - prompt
      properties:
        model:
          type: string
          description: Model name (e.g., veo_3_1_fast)
        prompt:
          type: string
          description: Text prompt
        resolution:
          type: string
          enum:
            - 720p
            - 1080p
            - 4k
          description: Video resolution
        orientation:
          type: string
          enum:
            - landscape
            - portrait
          description: Video orientation
        first_frame_url:
          type: string
          description: URL of the first frame image
        last_frame_url:
          type: string
          description: URL of the last frame image
        images:
          type: array
          items:
            type: string
          description: Reference image URLs
    VideoGenerationResponse:
      type: object
      properties:
        code:
          type: string
          example: '20000'
        msg:
          type: string
          example: ok
        data:
          type: object
          properties:
            task_id:
              type: string
            status:
              type: string
            model:
              type: string
            created_at:
              type: integer
              format: int64
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````