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 pendingPricing
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
| Field | Kind | Default | Description |
|---|---|---|---|
audio required | URL or file | — | Audio file for avatar. Supports .mp3/.wav/.m4a/.aac, max 5MB. |
image required | URL or file | — | Avatar reference image. Supports .jpg/.jpeg/.png, max 10MB, dimensions >= 300px, aspect ratio 1:2.5 to 2.5:1. |
mode | JSON | std | Video generation mode. |
prompt | text | — | 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>"
}
}'