English
  • 中文
  • English
English
  • 中文
  • English
官网
服务状态
English
  • 中文
  • English
  1. Videos
  • Quickstart & Conventions
  • Images
    • GPT Image 2 / 2.5 / 2.6 Generation & Editing
    • Nano Banana Image Generation
    • Gemini Native Sync Image Generation
    • Seedream 5.0 Pro / 5.5 Image Generation
    • Midjourney Image Generation
  • Videos
    • Seedance 2 Video Generation
    • Omni Video Generation
    • Seedance 2.5 Video Generation
    • MiniMax H3 Video Generation
    • WAN 3.0 Video Generation
    • Muse Video Generation
    • Seedance Asset Registration
    • Gemini Omni 1.2 Flash Video Generation
    • Seedance Volcengine Native Video Generation
    • MAGI-2 Video Generation
  • Text Models
    • Claude Desktop (CC Switch) Setup Guide
    • Codex in ChatGPT Desktop Setup Guide
    • Gemini Text Models (Native Format)
    • Text & Chat APIs (OpenAI / Claude)
  • Audio
    • Gemini Text-to-Speech (TTS)
  1. Videos

Omni Video Generation

Create text-to-video, image-to-video, or video-to-video tasks with omni-fast. Video generation is asynchronous: create a task first, poll its status, and read the output URL from the status response once finished.

Endpoints & Authentication#

Poll task status:

Generation Modes#

InputsModeAsset Limits
Omit both images and videosText-to-videoNo reference assets
Pass images onlyImage-to-videoUp to 5 images
Pass videosVideo-to-videoUp to 1 video, plus up to 3 optional images
Images and videos serve as references in array order. Video-to-video accepts only one source video; when images are also supplied, they act as subject or style references.

Request Parameters#

ParameterTypeRequiredDefaultDescription
modelstringYes—Must be omni-fast.
promptstringYes—Video description or editing instructions.
durationintegerNo10Recommended to omit. Text-to-video and image-to-video always run at 10 seconds (any other value is normalized to 10). Ignored for video-to-video, where output duration is determined by the source media and generated result rather than this field.
sizestringNo1280x720Supports 1280x720 (landscape) and 720x1280 (portrait). Actual encoded pixel dimensions follow the output file.
imagesstring[]No—Direct HTTPS URLs to reference images. Up to 5 for image-to-video, or up to 3 when combined with videos.
videosstring[]No—Direct HTTPS URL to the source video (at most 1).

Text-to-Video Example#

{
  "model": "omni-fast",
  "prompt": "A vintage sports car cruising slowly down a neon-lit street on a rainy night, low-angle tracking shot",
  "size": "1280x720"
}

Image-to-Video Example#

{
  "model": "omni-fast",
  "prompt": "Keep the character and outfit consistent as the person walks forward naturally",
  "size": "720x1280",
  "images": [
    "https://example.com/reference.png"
  ]
}

Video-to-Video Example#

{
  "model": "omni-fast",
  "prompt": "Preserve the motion and camera work of the source video while applying the subject and visual style from the reference images",
  "videos": [
    "https://example.com/source-video.mp4"
  ],
  "images": [
    "https://example.com/subject.png",
    "https://example.com/style.png",
    "https://example.com/detail.png"
  ]
}

Create Response#

Creating a task returns its task ID:
{
  "id": "task_xxxxxxxxxxxxxxxxxxxxxxxx",
  "status": "queued"
}
Pass id from the response as task_id when calling the status endpoint.

Polling Task Status#

StatusAction
queuedTask is waiting to be processed; continue polling.
in_progressVideo is being generated; continue polling.
completedGeneration finished; read metadata.url.
failedGeneration failed; read error.
Poll every 5 to 10 seconds. Stop polling once the task reaches completed or failed; treat any status value not listed above as incomplete and continue polling.
Once finished, read the non-empty output URL from metadata.url (result_url holds the same value and can be used as a fallback). Result URLs expire and may no longer be returned in polling responses after expiration—download or persist the video immediately upon completion.

Limits & Error Handling#

Each image or video file must not exceed 8MB.
Input video dimensions: long edge up to 1920 pixels, short edge up to 1080 pixels.
Image-only mode supports up to 5 images; video-to-video supports up to 1 video plus up to 3 images.
Exceeding the image or video count for the selected mode, or passing an unsupported size, returns a parameter error.
Video-to-video ignores duration; output duration depends on the input assets and generated result.
Asset URLs must be publicly accessible direct HTTPS media links.
Do not pass Chat Completions parameters such as messages, temperature, or stream.
HTTP StatusCommon Cause
400Invalid parameters; querying a non-existent task also returns 400 with code set to task_not_exist
401Missing or invalid API key
403Insufficient balance/quota, or no permission for the requested model
429Rate limit exceeded
503Service temporarily unavailable
500 / 502Transient service error
Modified at 2026-12-04 07:58:01
Previous
Seedance 2 Video Generation
Next
Seedance 2.5 Video Generation
Built with