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

# Runway Gen-4.5

> Video generation with optional reference image, 5s and 10s durations

<Tip>
  1. After submission, a `task_id` will be returned. If you provided a `callback_url`, when the task status becomes `finished` or `failed`, a POST request will be sent to the `callback_url`.
  2. Regardless of whether `callback_url` is provided, you can retrieve the result through the unified [Query Task Status](/api-manual/task-management/status) endpoint.
</Tip>

# Runway Gen-4.5

`runway-gen-4.5` is exposed through the unified submit endpoint with text-to-video and optional single-image guidance.

## Available Model

* **runway-gen-4.5** - Text-to-video generation

## Required Parameters

* **prompt**: Text prompt for generation

## Optional Parameters

* **duration**: `5` or `10`. Default is `5`
* **aspect\_ratio**: `16:9`, `9:16`, `4:3`, `3:4`, `1:1`, or `21:9`. Default is `16:9`
* **image\_urls**: Optional image URL list. At most `1` image
* **seed**: Optional integer seed

## Notes

* `image_urls` is optional. If provided, only one image URL is allowed


## OpenAPI

````yaml /api-manual/video-series/runway-gen-4-5.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Runway Gen-4.5 API
  description: Text-to-video generation with optional reference image, 5s and 10s durations
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: Production server
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Runway Gen-4.5
      summary: Submit Runway Gen-4.5 Task
      description: Generate video with Runway Gen-4.5
      operationId: submitRunwayGen45Task
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              runway-gen-4-5:
                summary: Runway Gen-4.5
                value:
                  model: runway-gen-4.5
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      A dense, verdant jungle world made up of small lego-like
                      pieces. We see a rainbow chameleon running through the 3D
                      world, the camera in and out of focus.
                    duration: 5
                    aspect_ratio: '16:9'
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
        - input
      properties:
        model:
          type: string
          description: Runway Gen-4.5 model identifier
          enum:
            - runway-gen-4.5
        callback_url:
          type: string
          format: uri
          description: Webhook callback URL for result notifications
          example: https://your-domain.com/callback
        input:
          type: object
          required:
            - prompt
          properties:
            prompt:
              type: string
              description: Text prompt for generation
              example: >-
                A dense, verdant jungle world made up of small lego-like pieces.
                We see a rainbow chameleon running through the 3D world, the
                camera in and out of focus.
            duration:
              type: integer
              description: Output duration in seconds
              enum:
                - 5
                - 10
              default: 5
              example: 5
            aspect_ratio:
              type: string
              description: Optional aspect ratio
              enum:
                - '16:9'
                - '9:16'
                - '4:3'
                - '3:4'
                - '1:1'
                - '21:9'
              default: '16:9'
              example: '16:9'
            image_urls:
              type: array
              description: Optional reference image list. Supports at most one image URL
              maxItems: 1
              items:
                type: string
                format: uri
              example:
                - https://your-image-domain.com/reference-image.png
            seed:
              type: integer
              description: Optional integer seed
              example: 123
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: task-unified-1757165031-uyujaw3d
            status:
              type: string
              enum:
                - not_started
              example: not_started
            created_time:
              type: string
              format: date-time
              example: '2025-11-12T10:30:00'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        All API endpoints require Bearer Token authentication


        Get your API Key:


        Visit the [API Key Management
        Page](https://vidgo.ai/apis/dashboard/api-key) to get your API Key


        Add it to the request header:


        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````