Documentation Index
Fetch the complete documentation index at: https://docs.unifically.com/llms.txt
Use this file to discover all available pages before exploring further.
Generate short text-to-video and reference-to-video clips with Google’s Gemini Omni Flash video model.
Model
Parameters
| Parameter | Type | Required | Default | Description |
|---|
prompt | string | Yes | - | Main video prompt. Use @ImageN or @CharacterN to point at specific references. Unknown references are left as plain text. |
seed | integer | No | Random | Seed sent to Omni Flash. If omitted, a seed is generated automatically and returned when available. |
aspect_ratio | string | No | "16:9" | Output orientation. Allowed: "16:9", "9:16". |
duration | integer | No | 4 | Clip length in seconds. Allowed: 4, 6, 8, 10. |
reference_image_urls | string[] | No | - | Publicly reachable image reference URLs. Max 7 total expanded image + character image URLs. |
reference_characters | array | No | - | Character references. Max 3 character items; expanded character image URLs count toward the total 7 reference limit. |
voice | string | No | - | Request-level Google Flow voice preset ID. Requires at least one image or character reference. See available voices. |
Start/end frame fields are not enabled for Omni Flash video generation. Use Veo 3.1 for first-frame or first-and-last-frame workflows.
Character References
Each character must be an object with image_urls. Even one-image characters must use an array.
{
"image_urls": [
"https://example.com/character-front.png",
"https://example.com/character-profile.png"
],
"name": "Ada",
"description": "warm, sharp, curious"
}
| Field | Type | Required | Description |
|---|
image_urls | string[] | Yes* | Publicly reachable character image URLs. Use 1-10 images for a character entity. |
name | string | No | Display name for the character. |
description | string | No | Character notes/personality text. |
*image_urls must contain at least one URL.
Example
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "google/omni-flash-video",
"input": {
"prompt": "Make @Character1 and @Image1 dance in a neon studio with energetic camera movement.",
"reference_image_urls": [
"https://example.com/neon-studio.png"
],
"reference_characters": [
{
"image_urls": [
"https://example.com/dancer.png"
],
"name": "Dancer"
}
],
"duration": 10,
"aspect_ratio": "9:16"
}
}'
Prompt References
| Token | Refers to |
|---|
@Image1, @Image2 | Items from reference_image_urls only |
@Character1, @Character2 | Items from reference_characters only. With multiple image_urls, the token points to the character item; extra images are identity references |
Rejected Combinations
| Input | Why rejected |
|---|
start_image_url or end_image_url | Start/end frames are not enabled for Omni Flash generation yet. |
| More than 7 total expanded image URLs | Omni Flash generation reference limit. |
| More than 3 character items | Character item limit. |
image_url on a character | Use image_urls instead, even for one image. |
| Plain string character entries | Character entries must be objects with image_urls. |
Empty image_urls | A character needs at least one image. |
More than 10 image_urls on one character | Character entity image limit. |
Response
{
"code": 200,
"success": true,
"data": {
"task_id": "abc123def456",
"status": "pending"
}
}