Models · Video
Omni Flash API
Was this page helpful?
Omni Flash is good for generating short video shots when you need its listed duration, resolution, and framing options.
By Wilson Sik Founder, Reviral Last updated
Pricing
Default example: 6-second video at 720P costs 25 credits, or $0.31 at the $4.99 Mini Pack rate ($4.99 for 400 credits).
| Resolution | Unit | Credits | USD |
|---|---|---|---|
| 720P | Per 4-second video | 25 cr | $0.31 |
| 720P | Per 6-second video | 25 cr | $0.31 |
| 720P | Per 10-second video | 25 cr | $0.31 |
| 1080p | Per 4-second video | 25 cr | $0.31 |
| 1080p | Per 6-second video | 25 cr | $0.31 |
| 1080p | Per 10-second video | 25 cr | $0.31 |
Accepted inputs
- Kind
- video
- Durations
- 4s, 6s, 10s
- Resolutions
- 720P, 1080p
- Aspect ratios
- 16:9, 9:16
- Reference inputs
- Images: 3. Videos: unavailable. Audio: 0 (up to 0 bytes).
- Defaults
- 6s · 720P · 16:9
Sample request
The request uses the current default settings for this model and the public GenerateMediaRequest schema.
curl -X POST "https://reviral.ai/api/v1/generate-media" \
-H "Authorization: Bearer $REVIRAL_API_KEY" \
-H "Idempotency-Key: first-generation" \
-H "Content-Type: application/json" \
--data '{"model":"omni-flash","prompt":"A slow camera move across a quiet lake at sunrise","durationSec":6,"resolution":"720P","aspectRatio":"16:9","maxCredits":25}'Response and output
Accepted job
{
"data": {
"jobId": "550e8400-e29b-41d4-a716-446655440000",
"kind": "video",
"model": "omni-flash",
"creditsCharged": 25,
"status": "queued",
"statusUrl": "/api/v1/jobs/550e8400-e29b-41d4-a716-446655440000"
}
}Ready job
{
"data": {
"jobId": "550e8400-e29b-41d4-a716-446655440000",
"kind": "video",
"model": "omni-flash",
"creditsCharged": 25,
"status": "ready",
"statusUrl": "/api/v1/jobs/550e8400-e29b-41d4-a716-446655440000",
"outputUrl": "https://reviral.ai/signed-output",
"durationSec": 6
}
}Error cases
404 model_not_available: the ID is no longer in the live catalog.409 price_changed: the current cost differs frommaxCredits.422 validation_error: duration, resolution, aspect ratio, size, or count is not accepted.429 rate_limit_exceeded: wait forRetry-Afterbefore retrying.
Frequently asked questions
- How much does the Omni Flash API cost?
- The default 6-second video at 720P costs 25 credits, about $0.31 at the $4.99 Mini Pack rate ($4.99 for 400 credits). Read the live models endpoint before submitting.
- Which inputs does Omni Flash accept?
- It accepts the listed generation settings plus up to 3 image, 0 video, and 0 audio references. Zero means that reference kind is unavailable.
- How do I retrieve Omni Flash output?
- Poll the returned status URL until the job is ready, then download the signed output URL or URLs before they expire.