Skip to main content
POST
/
v1
/
generation
/
almighty-reference-to-video
Submit Almighty Reference-to-Video Task
curl --request POST \
  --url https://api.weryai.com/v1/generation/almighty-reference-to-video \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "SEEDANCE_2_0",
  "prompt": "Use image 1 as opening frame, keep style of video 1, and use audio 1 as BGM.",
  "images": [
    "https://example.com/image1.jpg"
  ],
  "videos": [
    "https://example.com/video1.mp4"
  ],
  "audios": [
    "https://example.com/audio1.mp3"
  ],
  "aspect_ratio": "16:9",
  "resolution": "720p",
  "duration": 5,
  "generate_audio": "false",
  "video_number": 1
}
'
{
  "status": 0,
  "desc": "success",
  "message": "success",
  "data": {
    "task_id": "task_abc123",
    "task_status": "waiting"
  }
}

Authorizations

Authorization
string
header
required

Authenticate using Bearer token. Get your API Key from the WeryAI Console.

Example: Authorization: Bearer sk-xxxxxxxxxxxxxxxx

Body

application/json
model
string
required

Model Key. Supported models for almighty-reference-to-video:

Model NameModel Key
Seedance 2.0SEEDANCE_2_0
Example:

"SEEDANCE_2_0"

duration
integer
required

Generated video duration in seconds. Range: 5-15. Example values: 5, 10, 15.

Required range: 5 <= x <= 15
Example:

5

prompt
string

Prompt text (max 500 characters).

Maximum string length: 500
images
string<uri>[]

Reference image URLs (0~9).

videos
string<uri>[]

Reference video URLs (max 3; each 2~15s; total <= 15s).

audios
string<uri>[]

Reference audio URLs (max 3; each 2~15s; total <= 15s). Cannot be used alone without images or videos.

aspect_ratio
string

Video aspect ratio. Supported values: 1:1, 9:16, 16:9.

Example:

"16:9"

resolution
string

Video resolution. Supported values: 480p, 720p.

Example:

"720p"

generate_audio
string

Whether to generate audio. Enter true or false manually.

Example:

"false"

video_number
integer
default:1

Number of videos to generate (1~4).

Required range: 1 <= x <= 4
webhook_url
string<uri>

Callback URL

caller_id
integer<int64>

Caller ID

Response

Task submitted successfully

status
integer

Business status code (0 indicates success)

Example:

0

desc
string

Status description

Example:

"success"

message
string

Multi-language message

Example:

"success"

data
object