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

# SkyReels Video Extension (Single Shot)

> **[Core Function]** SkyReels Single-Shot Extension continues an existing single-shot video, generating additional seconds guided by a text prompt. **[Strengths]** Seamless single-shot continuation of the existing motion and scene. **[Best For]** Lengthening clips and continuing an action within one continuous shot. **[Limitations]** Do NOT use this to create a video from scratch (use skyreels-t2v) or to switch shots / add transitions (use video-extension-shot-switching). Requires a prefix_video (mp4 URL); adds 5-30s. **[Routing]** Provide prompt and prefix_video; set duration for how many seconds (5-30) to append.



## OpenAPI

````yaml /model-api/skywork/skyreels-v2v.json post /skywork/video-extension-single-shot
openapi: 3.1.0
info:
  description: >-
    The video-to-video models API from SkyReels (Skywork). Includes Omni
    reference-driven video generation/editing, style transfer, single-shot and
    shot-switching extension, and lip sync. Tasks are asynchronous: submit, then
    poll the task endpoint for the result.
  version: 1.0.0
  contact:
    name: Modellix Support
    email: support@modellix.ai
  title: SkyReels Video-to-Video Models API
servers:
  - url: https://api.modellix.ai/api/v1
    description: The video-to-video models API from SkyReels (Skywork).
security:
  - bearerAuth: []
paths:
  /skywork/video-extension-single-shot:
    post:
      summary: SkyReels Video Extension (Single Shot)
      description: >-
        **[Core Function]** SkyReels Single-Shot Extension continues an existing
        single-shot video, generating additional seconds guided by a text
        prompt. **[Strengths]** Seamless single-shot continuation of the
        existing motion and scene. **[Best For]** Lengthening clips and
        continuing an action within one continuous shot. **[Limitations]** Do
        NOT use this to create a video from scratch (use skyreels-t2v) or to
        switch shots / add transitions (use video-extension-shot-switching).
        Requires a prefix_video (mp4 URL); adds 5-30s. **[Routing]** Provide
        prompt and prefix_video; set duration for how many seconds (5-30) to
        append.
      operationId: videoExtensionSingleShotAsync
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoExtensionRequest'
            examples:
              basic:
                summary: Extend a clip
                value:
                  prompt: The camera continues to pan across the valley
                  prefix_video: https://example.com/clip.mp4
                  duration: 5
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTaskResponse'
              example:
                code: 0
                message: success
                data:
                  status: pending
                  task_id: task-skyreels-extend-001
                  model_id: skyreels/video-extension-single-shot
                  get_result:
                    method: GET
                    url: >-
                      https://api.modellix.ai/api/v1/tasks/task-skyreels-extend-001
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    VideoExtensionRequest:
      type: object
      required:
        - prompt
        - prefix_video
      description: SkyReels single-shot video extension request.
      properties:
        prompt:
          type: string
          minLength: 1
          description: Text description of the continuation (max 512 tokens).
          example: The camera continues to pan across the valley
        prefix_video:
          type: string
          minLength: 1
          description: Video to extend (mp4 URL).
          example: https://example.com/clip.mp4
        duration:
          type: integer
          minimum: 5
          maximum: 30
          default: 5
          description: Seconds to append (5-30).
          example: 5
    AsyncTaskResponse:
      type: object
      required:
        - code
        - message
        - data
      properties:
        code:
          type: integer
          description: Response code, 0 indicates success
          example: 0
        message:
          type: string
          description: Response message
          example: success
        data:
          type: object
          required:
            - status
            - task_id
            - model_id
          properties:
            status:
              type: string
              enum:
                - pending
                - processing
              description: Task status
              example: pending
            task_id:
              type: string
              description: Unique task identifier for polling
              example: task-abc123
            model_id:
              type: string
              description: Model ID in `provider/model` format
              example: skyreels/skyreels-omni
            get_result:
              type: object
              description: API information to query the task result
              properties:
                method:
                  type: string
                  example: GET
                url:
                  type: string
                  example: https://api.modellix.ai/api/v1/tasks/task-abc123
          description: Detailed data about the submitted asynchronous task.
    ErrorResponse:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          example: 400
        message:
          type: string
          example: 'Invalid parameters: parameter ''prompt'' is required'
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 400
            message: 'Invalid parameters: parameter ''prompt'' is required'
    Unauthorized:
      description: Unauthorized - Invalid or missing API Key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 401
            message: 'Authentication failed: invalid API key'
    TooManyRequests:
      description: Too many requests - Rate limit exceeded
      headers:
        X-RateLimit-Limit:
          description: Maximum requests per minute
          schema:
            type: integer
            example: 100
        X-RateLimit-Remaining:
          description: Remaining quota in current window
          schema:
            type: integer
            example: 0
        X-RateLimit-Reset:
          description: Rate limit window reset time (Unix timestamp)
          schema:
            type: integer
            example: 1704067260
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 429
            message: >-
              Rate limit exceeded: 100 requests per minute, retry after 60
              seconds
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 500
            message: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API Key authentication. Format: `Bearer YOUR_API_KEY`.'

````