Omni-Flash-Ext
Omni-Flash-Ext Video Generation
- Omni-Flash-Ext unified video generation model
- Supports Text-to-Video, single-image Image-to-Video, reference video, and 3-reference-image fusion
- Supports 720p/1080p/4k resolution and 4/6/8/10 second duration
- Asynchronous task API. Submit a task first, then query the result by task ID
POST
Authentication
string
required
All requests require Bearer Token authentication.Get an API key:Visit the API Key management page to get your API key.Add the following header when making requests:
Request Parameters
string
required
Video generation model name. Must be
Omni-Flash-Ext.string
required
Video content description. We recommend describing the scene, subject, action, environment, camera movement, visual style, and audio cues in detail.Example:
"a girl is dancing happily in a sunny garden"integer
default:"6"
Video duration in seconds.Supported values:
4, 6, 8, 10.string
default:"720p"
Video resolution. Values are case-insensitive.Supported values:
720p1080p4k
string
default:"16:9"
Video aspect ratio. Use it to control landscape or portrait output.Common values:
16:9- landscape9:16- portrait
16:9string
Compatibility field. It has the same meaning as
aspect_ratio. If both are provided, keep them consistent.string
Generation type, used to specify how the images are used.Options:
frame- First-frame mode.image_urlscan only contain 1 image, used as the first frame of the video.reference- Reference mode.image_urlscan contain 1 or 3 images, used as reference images.
array<url>
Reference image URL array. You can omit it, provide 1 image, or provide 3 images, depending on
generation_type:- Omitted or empty array: Text-to-Video
- 1 image: single-image Image-to-Video
- 3 images: reference image fusion (only supported when
generation_typeisreference)
generation_type:generation_typeisframe: only 1 image can be uploaded.generation_typeisreference: 1 or 3 images can be uploaded.
array<url>
Reference video URL array. You can omit it or provide 1 reference video.Only publicly accessible HTTP/HTTPS video URLs are supported. You can pass it together with
image_urls: images are used as identity or composition references, while the video is used as motion reference.Response
integer
Response status code. Successful requests return
200.array
Returned task array.
Query Task Result
Video generation is asynchronous. After submission, the API returns atask_id. Use the Get task status endpoint to query progress and results.
cURL
Successful Result Example
Failed Result Example
Use Cases
Scenario 1: Text-to-Video
Scenario 2: Single-Image Video
Scenario 3: 3-Reference-Image Fusion
Scenario 4: 4K Short Video
Scenario 5: Reference Video Generation
Error Codes
When a task fails, the task status API returns the failure reason in
data.error. Common causes include temporary upstream quota exhaustion, content moderation failure, or upstream timeout.