Lost an avatar video job id? List avatar videos instead
Sume has GET /v1/avatar-videos and GET /v1/avatar-videos/:id. How to find a render after a crash without resubmitting, and which status field to read.
If your worker crashed after submitting an avatar video and you lost the job id, do not submit again. List your avatar videos with GET /v1/avatar-videos and read one with GET /v1/avatar-videos/:id. The list returns summaries of your workspace's avatar-video jobs, so you can find the render and read its result once it finishes.
This is the recovery path the docs describe, alongside the jobs endpoints for status, events and result.
Which call for which question
Different handles answer different questions.
| You have | Call | You learn |
|---|---|---|
| A job id | GET /v1/jobs/:id/status | Whether it is terminal |
| A job id, finished | GET /v1/jobs/:id/result | Public media.sume.com video artifacts, preview_image_url, scene_previews |
| A job id, wanting a timeline | GET /v1/jobs/:id/events | Created, queued, started, completed, failed, webhook delivery |
| No id at all | GET /v1/avatar-videos | The avatar-video resources in your workspace |
| A resource id | GET /v1/avatar-videos/:id | One video resource |
A recovery routine
List, match by the script or title you remember, read, and download from the Sume URL.
curl https://api.sume.com/v1/avatar-videos \
-H "Authorization: Bearer $SUME_API_KEY"
curl https://api.sume.com/v1/avatar-videos/avatar_video_123 \
-H "Authorization: Bearer $SUME_API_KEY"Prevent it next time
- Write the job id and your own record id to storage before you do anything else with the response.
- Send an
Idempotency-Keybuilt from your own record, so a retry returns the original job. - Prefer a signed webhook for completion, with polling as the fallback.
- If you use previews, store the
avatar_video_preview_idtoo; the final render hangs off it.
What the resource gives you
A video resource is the durable record: it points at the finished artifact, so you can rebuild a page or a message from it without holding on to the original job response. If the list is long, pass limit (1 to 100) and a status filter; ready is accepted as an alias for completed jobs. If you find two near-identical entries, a retry probably double-submitted, so send an Idempotency-Key next time.
Limits
The list route shows what exists, not why a job failed; use the job events for that. Completed results are mirrored to media.sume.com, so store that URL rather than a provider link. Keep your own copy of anything you must keep, since retention is not a promise the docs make on this page.
Sources
Related posts
More in Sume Avatar 1.0
- Gemini app video avatar: the @username prompt vs a Sume avatar handle
In the Gemini app you add your avatar to a video by typing @ and your Google username, 18+ only. Sume uses an avatar_handle and a photo input. What differs.
- Gemini Omni avatar with your own voice vs Sume Avatar 1.0 video
Google says Gemini Omni can make an avatar video in your own voice. Sume Avatar 1.0 takes a script, 4 to 60 seconds, 720p. What differs.
- HeyGen Avatar 3.0 singing and 177 languages vs Sume Avatar 1.0
HeyGen Avatar 3.0 adds singing and 177+ languages. Sume Avatar 1.0 renders script-driven talking video, 4 to 60 seconds. What each one covers.
- Korean avatar video captions: fix caption_hangul_text_latin_style
A Korean script with captions style slam, punch or tiktok-green is rejected with 400 caption_hangul_text_latin_style. Use a Hangul style instead.
Written by Sume