ReplicateText to imageComing soon

kwaivgi/kling-avatar-v2

kwaivgi/kling-avatar-v2 is a text to image tool from Replicate that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Price pending

Pricing

Price pending.

Limits

Runs
In the background
Returns
image
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
audio requiredURL or file—Audio file for avatar. Supports .mp3/.wav/.m4a/.aac, max 5MB.
image requiredURL or file—Avatar reference image. Supports .jpg/.jpeg/.png, max 10MB, dimensions >= 300px, aspect ratio 1:2.5 to 2.5:1.
modeJSONstdVideo generation mode.
prompttext—Positive text prompt to define avatar actions, emotions, and camera movements.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "replicate",
    "model": "kwaivgi/kling-avatar-v2",
    "input": {
      "audio": "<audio>",
      "image": "<image>"
    }
  }'