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
Documentation Index
Fetch the complete documentation index at: https://docs.apimart.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
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
Video generation model name. Must be
Omni-Flash-Ext.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"Video duration in seconds.Supported values:
4, 6, 8, 10.Video resolution. Values are case-insensitive.Supported values:
720p1080p4k
Video aspect ratio. Use it to control landscape or portrait output.Common values:
16:9- landscape9:16- portrait
16:9Compatibility field. It has the same meaning as
aspect_ratio. If both are provided, keep them consistent.Reference image URL array. You can omit it, provide 1 image, or provide 3 images:
- Omitted or empty array: Text-to-Video
- 1 image: single-image Image-to-Video
- 3 images: reference image fusion
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
Response status code. Successful requests return
200.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
| HTTP | Error type | Meaning | Suggested action |
|---|---|---|---|
| 400 | invalid_request_error | model is not Omni-Flash-Ext, prompt is empty, or the JSON format is invalid | Check the request body |
| 400 | invalid_duration | duration is not 4, 6, 8, or 10 | Use a supported duration |
| 400 | invalid_resolution | resolution is not 720p, 1080p, or 4k | Use a supported resolution |
| 400 | unsupported_image_count | The number of image_urls is unsupported, commonly caused by passing 2 images | Use 0, 1, or 3 images |
| 400 | unsupported_video_count | The number of video_urls is unsupported, commonly caused by passing 2 or more videos | Use 0 or 1 reference video |
| 401 | authentication_error | Invalid token | Check the Bearer Token |
| 402 | payment_required | Insufficient balance | Recharge and try again |
| 429 | rate_limit_error | Rate limit exceeded | Reduce concurrency or try again later |
data.error. Common causes include temporary upstream quota exhaustion, content moderation failure, or upstream timeout.