Skip to main content
POST
  1. After submission, a task_id will be returned. If you provided a callback_url, PoYo sends a POST request when the task reaches finished or failed.
  2. You can always retrieve the latest result through the unified Query Task Status endpoint.

Omni Flash

omni-flash creates short videos from text prompts, optional image references, or an optional video reference.

Available Model

  • omni-flash - Text-to-video, image-to-video, reference image fusion, and video-input generation

Required Parameters

  • prompt: Text prompt describing the scene, motion, style, camera behavior, and other generation instructions

Optional Parameters

  • image_urls: Image URL array. Allowed counts are 0, 1, or 3
  • video_urls: Video URL array. At most 1 video is allowed
  • resolution: 720p, 1080p, or 4k. Default is 720p
  • duration: 4, 6, 8, or 10 seconds. Default is 6. Do not provide this field when video_urls is provided
  • aspect_ratio: 16:9 or 9:16. 16:9 is landscape, and 9:16 is portrait. Default is 16:9
  • callback_url: Optional webhook URL for completion notifications

Input Modes

  • Text to video: Send prompt only, plus optional resolution, duration, and aspect_ratio
  • Image to video: Send prompt and exactly one image in image_urls
  • Reference image fusion: Send prompt and exactly three images in image_urls
  • Video input: Send prompt and one video in video_urls; omit duration

Billing

Requests without video input are billed by selected resolution and duration. Requests with video input are billed per generation by selected resolution.

Notes

  • Use public HTTPS image and video URLs, or upload files through the playground before submitting
  • image_urls with two images is not supported
  • video_urls supports at most one video
  • When video_urls is provided, duration must be omitted
  • The response returns a task_id; query task status to retrieve generated video files

Submit Examples

Text to Video

Image to Video

Three-Image Reference Fusion

Video Input

Authorizations

Authorization
string
header
required

All API endpoints require Bearer Token authentication

Get your API Key:

Visit the API Key Management Page to get your API Key

Add it to the request header:

Body

application/json
model
enum<string>
required

Omni Flash model identifier

Available options:
omni-flash
input
object
required
callback_url
string<uri>

Webhook callback URL for result notifications

Example:

"https://your-domain.com/callback"

Response

200 - application/json

Task submitted successfully

code
integer
required
Example:

200

data
object
required
message
string
Example:

"success"