Resynthesize a character
Re-run the synthesize pipeline to produce a fresh set of refs.
POST /v1/characters/{id}/resynthesize re-runs the synthesize pipeline against the character’s existing attributes to produce a fresh set of ref poses. Use it when:
- The synthesize-flow create result was a complete miss and individual
regenerate-refcalls aren’t enough. - A
failedsynthesis needs another full attempt. - You want to “reroll” a character without changing its identity attributes.
status: synthesizing. Poll GET /v1/characters/{id} until status returns to reviewing (then call POST /v1/characters/{id}/save) or ready.
The endpoint returns 200 with the updated character resource (Stripe pattern — the resource exists and this is a state transition).
This endpoint costs credits — same cost as the original synthesize-flow create (4 generations). Estimate via POST /v1/images/estimate on the equivalent prompt if you need a budget guardrail.
Body
| Field | Required | Description |
|---|---|---|
force_all | no | When true, regenerate every pose even if some are already populated. Default false — the behaviour is to replace the full ref set anyway, so this flag is mainly forward-compat for partial-resync semantics. |
Examples
Limits
- Rate limit: bucket
characters_synthesize— 6 requests/min sustained, 12 burst per team. Shared with synthesize-flow create andregenerate-ref. - Idempotency: pass
Idempotency-Key(any opaque value, 1–256 chars). Same key + same body within 24h replays the cached response. Same key + different body returns409 idempotency_key_in_use. See Idempotency.
Idempotency-Key — this endpoint dispatches 4 paid generations,
so a network retry without a key can multiply your bill.Errors
| Code | HTTP | When |
|---|---|---|
invalid_request_error | 400 | Character is in a non-resynthesizable state. Eligible states: reviewing, ready, failed. |
insufficient_credits | 402 | Team credits < the resynthesize cost. |
resource_not_found | 404 | Unknown ID, soft-deleted character, or cross-team. |
idempotency_key_in_use | 409 | Same Idempotency-Key used with a different body, or previously used on a different route. |
rate_limit_exceeded | 429 | Burst > 12 or sustained > 6/min. |
Common pitfalls
resynthesizeis the most expensive character endpoint — always passIdempotency-Keyto avoid double-charges on retry.- Resynthesizing a
readycharacter moves it back tosynthesizing. Existing generations referencing it onGET /v1/images/{id}are unaffected; only future requests pick up the new refs. - Resynthesize uses the stored
attributes. If you want to change identity (e.g. differenthair_color), callPATCH /v1/characters/{id}with the new attributes first, then resynthesize.
Authorizations
Your team API key (starts with al_live_).
Headers
Optional API version pin (YYYY-MM-DD). Defaults to your team's pinned version, or the system default 2026-05-15 for unauthenticated requests.
^\d{4}-\d{2}-\d{2}$"2026-05-15"
Stripe-style idempotency key (1-256 chars). Same key + same canonical-JSON body returns the cached response with Aurous-Idempotent-Replayed: true. Same key against a different route (e.g. previously used on /v1/images) returns 409 invalid_request / idempotency_key_in_use. Replay window is 24 hours. Absent header is treated as non-idempotent (each call processes anew).
Path Parameters
Opaque character ID
"char_01HXMQ7Z3K8Y2NABCDEFGHJKMR"
Body
Reserved (no-op today). Resynthesize always regenerates all 4 ref poses in the current API version, so this flag has no effect regardless of its value. It is accepted for forward-compatibility with a future partial-resynthesis mode (regenerate only missing/failed poses).
true
Response
Ref poses resynthesized; updated character returned
Opaque character ID.
"char_01HXMQ7Z3K8Y2NABCDEFGHJKMR"
Discriminator
character "character"
Display name.
"Aurora the Adventurer"
Lifecycle state. synthesizing: synthesize flow running. reviewing: synthesize completed, awaiting POST /:id/save. ready: usable on POST /v1/images. failed: synthesize failed; use POST /:id/resynthesize to retry. deleted: soft-deleted (filtered out of list endpoint).
synthesizing, reviewing, ready, failed, deleted "ready"
Reference images (typically 4 poses).
Creation timestamp (ISO 8601).
"2026-05-08T10:00:00Z"
Last-update timestamp (ISO 8601).
"2026-05-08T10:00:00Z"
Caller-supplied reference echoed back (the value sent on create). Null if unset.
"bot_8472"
Character attributes. Null when unset.
Error message when status is failed. Null otherwise.
null
API contract version applied at the time this row was minted (D25 — frozen for replay across future version bumps).
"2026-05-15"

