Discussions
Can't get my avatar to work through API 404
Hi,
I've uploaded an image, edited it and got a couple of Avatar so that works great.
Problem is that I try to create videos now through the API but I can't get it to work.
Changed the real ID to AVATARID and VOICEID in example below.
{
"video_inputs": [
{
"character": {
"type": "avatar",
"avatar_id": "AVATARID"
},
"voice": {
"type": "text",
"input_text": "EXAMPLE TEXT TO GENERATE",
"voice_id": "VOICEID"
},
"background": {
"type": "color",
"value": "#000000"
}
}
],
"dimension": {
"width": 1080,
"height": 1920
}
}
message:404 - "{"data":null,"error":{"code":"avatar_not_found","message":"Avatar AVATARID not found or no longer available."}}\n"
I've also tried with talking_photo with same result.
{
"error": null,
"data": {
"avatar_list": [
{
"id": "XXXX",
"image_url": "XXXX",
"created_at": 1764742892,
"name": "Teal-Jacketed Newsman in the Snowy Pines",
"status": "completed",
"group_id": "XXXX",
"is_motion": true,
"motion_preview_url": "XXXX",
"business_type": "generated",
"upscale_availability": {
"available": true,
"reason": null
},
"upscaled": false,
"background_sound_effect": null,
"default_voice_id": "XXXX",
"moderation_msg": null
},
{
"id": "XXXX",
"image_url": "XXXX",
"created_at": 1764740145,
"name": "Teal-Jacketed Newsman in the Snowy Pines",
"status": "completed",
"group_id": "XXXX",
"is_motion": false,
"motion_preview_url": null,
"business_type": "generated",
"upscale_availability": {
"available": false,
"reason": "Only motion avatar generated from AI look can be upscaled"
},
"upscaled": false,
"background_sound_effect": null,
"default_voice_id": "XXXX",
"moderation_msg": null
},
{
"id": "XXXX",
"image_url": "XXXX",
"created_at": 1764740143,
"name": "Teal-Jacketed Newsman in the Snowy Pines",
"status": "completed",
"group_id": "XXXX",
"is_motion": true,
"motion_preview_url": "XXXX",
"business_type": "generated",
"upscale_availability": {
"available": true,
"reason": null
},
"upscaled": false,
"background_sound_effect": null,
"default_voice_id": "XXXX",
"moderation_msg": null
},
{
"id": "XXXX",
"image_url": "XXXX",
"created_at": 1764583201,
"name": "Lycksele Winter Reporter",
"status": "completed",
"group_id": "XXXX",
"is_motion": false,
"motion_preview_url": null,
"business_type": "generated",
"upscale_availability": {
"available": false,
"reason": "Only motion avatar generated from AI look can be upscaled"
},
"upscaled": false,
"background_sound_effect": null,
"default_voice_id": "XXXX",
"moderation_msg": null
},
{
"id": "XXXX",
"image_url": "XXXX",
"created_at": 1764583201,
"name": "Lycksele Winter Reporter",
"status": "completed",
"group_id": "XXXX",
"is_motion": false,
"motion_preview_url": null,
"business_type": "generated",
"upscale_availability": {
"available": false,
"reason": "Only motion avatar generated from AI look can be upscaled"
},
"upscaled": false,
"background_sound_effect": null,
"default_voice_id": "XXXX",
"moderation_msg": null
},
{
"id": "XXXX",
"image_url": "XXXX",
"created_at": 1764227335,
"name": "Snowy Slope Reporter Martin",
"status": "completed",
"group_id": "XXXX",
"is_motion": true,
"motion_preview_url": "XXXX",
"business_type": "generated",
"upscale_availability": {
"available": true,
"reason": null
},
"upscaled": false,
"background_sound_effect": null,
"default_voice_id": "XXXX",
"moderation_msg": null
},
{
"id": "XXXX",
"image_url": "XXXX",
"created_at": 1764226913,
"name": "Snowy Slope Reporter Martin",
"status": "completed",
"group_id": "XXXX",
"is_motion": false,
"motion_preview_url": null,
"business_type": "generated",
"upscale_availability": {
"available": false,
"reason": "Only motion avatar generated from AI look can be upscaled"
},
"upscaled": false,
"background_sound_effect": null,
"default_voice_id": "XXXX",
"moderation_msg": null
},
{
"id": "XXXX",
"image_url": "XXXX",
"created_at": 1764014187,
"name": "Martin",
"status": "completed",
"group_id": "74055f79cdee4388acaa5b039d7e1538",
"is_motion": true,
"motion_preview_url": "XXXX",
"business_type": "generated",
"upscale_availability": {
"available": true,
"reason": null
},
"upscaled": false,
"background_sound_effect": null,
"default_voice_id": "a1f3b0bd552944f0bc2a185143c42e0a",
"moderation_msg": null
},
{
"id": "XXXX",
"image_url": "XXXX",
"created_at": 1764011574,
"name": "Martin",
"status": "completed",
"group_id": "XXXX",
"is_motion": false,
"motion_preview_url": null,
"business_type": "uploaded",
"upscale_availability": {
"available": false,
"reason": "Only motion avatar generated from AI look can be upscaled"
},
"upscaled": false,
"background_sound_effect": null,
"default_voice_id": "XXXX",
"moderation_msg": null
},
{
"id": "XXXX",
"image_url": "XXXX",
"created_at": 1764011573,
"name": "Martin",
"status": "completed",
"group_id": "XXXX",
"is_motion": false,
"motion_preview_url": null,
"business_type": "uploaded",
"upscale_availability": {
"available": false,
"reason": "The photo avatar look is too large to upscale"
},
"upscaled": false,
"background_sound_effect": null,
"default_voice_id": "XXXX",
"moderation_msg": null
},
{
"id": "XXXXXXXX",
"image_url": "XXXXXXXX",
"created_at": 1763991364,
"name": "Santa's Cheerful Host",
"status": "completed",
"group_id": "XXXX",
"is_motion": true,
"motion_preview_url": "XXXXXXXX",
"business_type": "generated",
"upscale_availability": {
"available": true,
"reason": null
},
"upscaled": false,
"background_sound_effect": null,
"default_voice_id": "XXXX",
"moderation_msg": null
},
{
"id": "XXXXXXXXXXXX",
"image_url": "XXXXXXXXXXXX",
"created_at": 1763740510,
"name": ""Winter Reporter with a Smile"",
"status": "completed",
"group_id": "XXXX",
"is_motion": true,
"motion_preview_url": "XXXX",
"business_type": "uploaded",
"upscale_availability": {
"available": true,
"reason": null
},
"upscaled": false,
"background_sound_effect": null,
"default_voice_id": "XXXXX",
"moderation_msg": null
}
]
}
}