character_file_url parameter.character_prompt: Description of the character and desired animation style (Max 5000 characters)safety_instruction: Safety guidelines and content restrictions for the animation (Max 5000 characters)callBackUrl parameter to receive automatic notifications when generation completes, rather than polling the status endpoint.state: "success"), the resultJson field contains:{
"character_id": "example_123456789"
}| Resource | Description |
|---|---|
| Market Overview | Explore all available models |
| File Upload API | Learn how to upload your character videos |
| Common API | Check credits and account usage |
curl --location --request POST 'https://api.kie.ai/api/v1/jobs/createTask' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "sora-2-characters",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"character_file_url": [
"https://static.aiquickdraw.com/tools/example/character1.mp4"
],
"character_prompt": "A friendly cartoon character with expressive eyes and fluid movements",
"safety_instruction": "Ensure the animation is family-friendly and contains no violent or inappropriate content"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "task_sora-2-characters_1765174270120"
}
}