Skip to main content
POST
/
v1
/
videos
/
generations
curl --request POST \ --url https://api.foxapi.cc/v1/videos/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "model": "omnihuman-1.5", "image_url": "https://example.com/portrait.jpg", "audio_url": "https://example.com/speech.mp3" } '
{
  "created": 1757165031,
  "id": "task-unified-1757165031-uyujaw3d",
  "model": "<string>",
  "object": "video.generation.task",
  "progress": 0,
  "status": "pending",
  "task_info": {
    "can_cancel": true,
    "estimated_time": 45
  },
  "type": "video"
}

Documentation Index

Fetch the complete documentation index at: https://docs.foxapi.cc/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

All endpoints require Bearer Token authentication

Add the following to your request headers:

Authorization: Bearer YOUR_API_KEY

Body

application/json
model
string
default:omnihuman-1.5
required

omnihuman-1.5: Audio-driven digital human video

Example:

"omnihuman-1.5"

image_url
string
required

Public URL of the portrait image

Notes:

  • Formats: JPG / PNG / WebP / GIF / AVIF
  • File size up to 5MB
  • Must be a publicly accessible URL
  • The image must contain a human face
Example:

"https://example.com/portrait.jpg"

audio_url
string
required

Public URL of the audio file

Notes:

  • Formats: MP3 / WAV / OGG / M4A / AAC
  • Must be a publicly accessible URL
  • Audio duration determines output video duration and billing
  • Duration limit: up to 30 seconds (up to 60 seconds in 720p mode)
Example:

"https://example.com/speech.mp3"

prompt
string | null

Text guidance to control character behavior and actions

Notes:

  • Supports Chinese, English, Japanese, Korean, Spanish, and Indonesian
  • Describing dynamic actions works better; avoid describing static attributes already present in the image
Example:

"The person speaks calmly to the camera"

turbo_mode
boolean | null

Turbo mode

Notes:

  • Enables faster generation with slight quality loss
  • Suitable for quick iteration and previewing

Do not pass this parameter unless necessary.

Example:

true

advanced
object

Advanced options for additional control

Do not pass this parameter unless necessary.

Response

Task created successfully

created
integer

Task creation timestamp

Example:

1757165031

id
string

Task ID

Example:

"task-unified-1757165031-uyujaw3d"

model
string

Actual model name used

object
enum<string>

Specific task type

Available options:
video.generation.task
progress
integer

Task progress percentage (0-100)

Required range: 0 <= x <= 100
Example:

0

status
enum<string>

Task status

Available options:
pending,
processing,
completed,
failed
Example:

"pending"

task_info
object

Asynchronous task information

type
enum<string>

Task output type

Available options:
video
Example:

"video"