curl --request PUT \
--url https://api.aurous-labs.com/v1/characters/{id}/refs/{view} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"upload_id": "upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR"
}
'import requests
url = "https://api.aurous-labs.com/v1/characters/{id}/refs/{view}"
payload = { "upload_id": "upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR" }
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({upload_id: 'upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR'})
};
fetch('https://api.aurous-labs.com/v1/characters/{id}/refs/{view}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aurous-labs.com/v1/characters/{id}/refs/{view}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'upload_id' => 'upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aurous-labs.com/v1/characters/{id}/refs/{view}"
payload := strings.NewReader("{\n \"upload_id\": \"upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.aurous-labs.com/v1/characters/{id}/refs/{view}")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"upload_id\": \"upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aurous-labs.com/v1/characters/{id}/refs/{view}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"upload_id\": \"upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR\"\n}"
response = http.request(request)
puts response.read_body{
"id": "char_01HXMQ7Z3K8Y2NABCDEFGHJKMR",
"object": "character",
"name": "Aurora the Adventurer",
"status": "ready",
"nudity": "clothed",
"refs": [
{
"pose": "front",
"view": "full_front",
"source": "generated",
"url": "https://storage-host.example/storage/v1/object/sign/characters/full_front.jpg?token=eyJhbGciOi..."
}
],
"views": [
{
"view": "full_front",
"status": "generated",
"url": null,
"nudity": "clothed",
"reason": null,
"detected_view": null,
"made_from": [
"head_front",
"full_front"
]
}
],
"build": {
"missing_views": [
"full_front",
"full_right"
],
"cost_credits": 123,
"per_view_credits": 123
},
"created_at": "2026-05-08T10:00:00Z",
"updated_at": "2026-05-08T10:00:00Z",
"client_reference_id": "bot_8472",
"attributes": {
"gender": "female",
"age": 28,
"ethnicity": "east-asian",
"hair_color": "black",
"hair_style": "shoulder-length straight",
"eye_color": "brown",
"body_type": "athletic",
"additional_details": "small scar above right eyebrow; warm smile"
},
"error_message": null,
"aurous_version": "2026-08-26"
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}Put a photo into a view
File one of your own photos as the reference for one named view, after a fit check.
curl --request PUT \
--url https://api.aurous-labs.com/v1/characters/{id}/refs/{view} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"upload_id": "upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR"
}
'import requests
url = "https://api.aurous-labs.com/v1/characters/{id}/refs/{view}"
payload = { "upload_id": "upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR" }
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({upload_id: 'upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR'})
};
fetch('https://api.aurous-labs.com/v1/characters/{id}/refs/{view}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aurous-labs.com/v1/characters/{id}/refs/{view}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'upload_id' => 'upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aurous-labs.com/v1/characters/{id}/refs/{view}"
payload := strings.NewReader("{\n \"upload_id\": \"upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.aurous-labs.com/v1/characters/{id}/refs/{view}")
.header("X-Api-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"upload_id\": \"upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aurous-labs.com/v1/characters/{id}/refs/{view}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["X-Api-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"upload_id\": \"upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR\"\n}"
response = http.request(request)
puts response.read_body{
"id": "char_01HXMQ7Z3K8Y2NABCDEFGHJKMR",
"object": "character",
"name": "Aurora the Adventurer",
"status": "ready",
"nudity": "clothed",
"refs": [
{
"pose": "front",
"view": "full_front",
"source": "generated",
"url": "https://storage-host.example/storage/v1/object/sign/characters/full_front.jpg?token=eyJhbGciOi..."
}
],
"views": [
{
"view": "full_front",
"status": "generated",
"url": null,
"nudity": "clothed",
"reason": null,
"detected_view": null,
"made_from": [
"head_front",
"full_front"
]
}
],
"build": {
"missing_views": [
"full_front",
"full_right"
],
"cost_credits": 123,
"per_view_credits": 123
},
"created_at": "2026-05-08T10:00:00Z",
"updated_at": "2026-05-08T10:00:00Z",
"client_reference_id": "bot_8472",
"attributes": {
"gender": "female",
"age": 28,
"ethnicity": "east-asian",
"hair_color": "black",
"hair_style": "shoulder-length straight",
"eye_color": "brown",
"body_type": "athletic",
"additional_details": "small scar above right eyebrow; warm smile"
},
"error_message": null,
"aurous_version": "2026-08-26"
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}{
"error": {
"type": "invalid_request",
"code": "balance_too_low",
"message": "Team available balance is 1.5 credits, generation requires 2.0.",
"doc_url": "https://docs.aurous-labs.com/errors#balance_too_low",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM",
"param": "prompt",
"reason": "wrong_view",
"detected_view": "full_left"
}
}PUT /v1/characters/{id}/refs/{view} files a photo you supplied as the reference for one of the eight named views. The photo is used as-is — it is never re-rendered, and a later build leaves it alone and renders only the views you did not fill.
Pass the upload_id of a ticket from POST /v1/characters/uploads/init whose bytes you have already PUT to its upload_url. The route takes JSON only — there is no multipart form on the V1 surface.
The response is the full character with the updated views[] and a recalculated build.
When to use
- You have a real photo for a view and want the platform to render only the rest.
- You want to replace a view — uploaded or generated — on a character you already own.
Examples
curl -X PUT https://api.aurous-labs.com/v1/characters/char_01HXMQ7Z3K8Y2VNABCDEFGHJKM/refs/head_front \
-H "X-Api-Key: $AUROUS_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
--max-time 60 \
-d '{"upload_id": "upl_01HXMQ7Z3K8Y2VNABCDEFGHJKM"}'
const character = await fetch(
`https://api.aurous-labs.com/v1/characters/${id}/refs/head_front`,
{
method: "PUT",
headers: {
"X-Api-Key": process.env.AUROUS_API_KEY!,
"Content-Type": "application/json",
// One key per view — the view is part of the path.
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({ upload_id: uploadId }),
signal: AbortSignal.timeout(60_000),
},
).then((r) => r.json());
console.log(character.views.find((v) => v.view === "head_front").status); // "uploaded"
import os, uuid, requests
r = requests.put(
f"https://api.aurous-labs.com/v1/characters/{character_id}/refs/head_front",
headers={
"X-Api-Key": os.environ["AUROUS_API_KEY"],
"Idempotency-Key": str(uuid.uuid4()),
},
json={"upload_id": upload_id},
timeout=60,
).json()
print(next(v for v in r["views"] if v["view"] == "head_front")["status"]) # uploaded
Idempotency-Key, same body, within 24h) returns the cached response with Aurous-Idempotent-Replayed: true.
Path parameters
| Parameter | Description |
|---|---|
id | Opaque character id (char_…). |
view | One of head_front, upper_front, lower_front, upper_back, lower_back, full_left, full_front, full_right. Anything else is 400 invalid_format (param: "view") — and the same 400 fires whether or not the character exists, so it is not an existence probe. |
Body
| Field | Required | Description |
|---|---|---|
upload_id | yes | The ticket from POST /v1/characters/uploads/init, after you have PUT the image bytes to its upload_url. |
Validation order
The photo passes four gates, in this order. The first failure is what you get back; nothing later runs, and nothing is stored until every gate has passed.- Status. A render in flight (
synthesizing) is409 character_busywithRetry-After. Any status outsidedraft,failed,reviewing,readyis400 character_status_invalid. - Bytes. Format and dimensions. A format the platform does not accept, a body over the size ceiling, or a side over
constraints.max_dimension_pxis400 invalid_format/400 value_out_of_range(param: upload_id). A short side underconstraints.min_short_side_px, or an aspect ratio overconstraints.max_aspect_ratio, is422 reference_unfitwithreason: "too_small"/"extreme_aspect". - Content policy. A photo the policy declines is
400 reference_blocked(param: upload_id). - Fit. A visual check reads what the photo actually shows and the rules below decide. A mismatch is
422 reference_unfitwith areason.
constraints first. GET /v1/characters/views returns min_short_side_px, max_aspect_ratio, max_dimension_px and content_types — the very values gate 2 enforces. Screening a file client-side against them turns a wasted round-trip into a local check.
Nudity
- A photo showing nudity is refused on a
clothedcharacter (reason: "nudity_mismatch") — except onhead_front, which carries no nudity rule. - A clothed body photo on a
nudecharacter is accepted, and the slot reportsviews[].nudity: "clothed"while the character’s ownnuditystaysnude. That is a deliberate mixed set, not a failure — compare the two fields to detect one. head_frontcarries no nudity rule, so itsviews[].nuditydescribes that photo and is not a mixed-set signal: a head-and-shoulders shot normally reportsclothedeven on anudecharacter. Read the mixed-set signal off the body views.nudityis a property of the set, not of this request. Change it withPATCHwhile the character is still adraft; on teams that always render clothed, an explicitnudereturns400 nudity_not_allowed.
Why a photo is refused
422 reference_unfit carries a machine-readable reason (and detected_view when the reason is wrong_view). Branch on reason, never on the prose message.
reason | param | When |
|---|---|---|
too_small | upload_id | The short side is under constraints.min_short_side_px. |
extreme_aspect | upload_id | Longest ÷ shortest side is over constraints.max_aspect_ratio. |
no_person | upload_id | No person was found in the photo. |
multiple_people | upload_id | More than one person is in frame — crop to the model alone. |
no_face | upload_id | head_front only: no clear, unobstructed face. |
wrong_view | view | The photo shows a different view than the one you addressed; detected_view names what it looks like. A detected_view of other means the photo matches none of the eight views (sitting, lying down, a close-up of something other than the face) — ask for a new photo rather than offering another slot. |
nudity_mismatch | upload_id | The character’s set is clothed and the photo shows nudity — except on head_front, which carries no nudity rule. |
reason set on a 422. views[].reason is a superset — it adds invalid_format and value_out_of_range, the two byte-stage refusals that come back as 400s with no reason on the envelope. See Views and lifecycle.
Retrying a refused photo
A ticket is copied, never moved. An acceptedPUT copies the bytes into the character and leaves the ticket where it was; a refusal writes nothing at all. Either way the same upload_id stays usable for the rest of its 24-hour lifetime. That matters most for wrong_view:
// PUT /v1/characters/{id}/refs/full_front → 422
{
"error": {
"type": "invalid_request",
"code": "reference_unfit",
"message": "This photo shows a different view than the one you selected.",
"param": "view",
"reason": "wrong_view",
"detected_view": "full_left",
"doc_url": "https://docs.aurous-labs.com/errors#reference_unfit",
"request_id": "req_01HXMQ7Z3K8Y2VNABCDEFGHJKM"
}
}
upload_id to full_left (with a fresh Idempotency-Key — a different view is a different key) and it lands. No re-upload, and the visual check is not run twice: the platform reuses what it already learned about those bytes within the ticket window.
An accepted PUT on a view that already holds a reference replaces it. The old image is removed.
Limits
- Cost: free. Filing a photo renders nothing and charges nothing — you pay at build time, and only for the views still missing.
- Client timeout: set at least 60 seconds. The visual check is allowed one retry, so the worst case is roughly 45 seconds before the response.
- Rate limit: bucket
characters_ref_upload— 30 requests/min sustained, 40 burst per team. This route has its own bucket: it is free to call but does real work per request, so its ceiling is set explicitly rather than shared with the other cheap character writes. - Idempotency: pass
Idempotency-Key. Because the view is part of the path, use one key per view — reusing a key across two views returns409 idempotency_key_in_use. See Idempotency.
Errors
| Code | HTTP | When |
|---|---|---|
invalid_format | 400 | view is not one of the eight names (param: view), or the bytes are not an image format the platform accepts (param: upload_id). |
missing_field | 400 | No upload_id in the body. |
value_out_of_range | 400 | The image is over the size or dimension ceiling (param: upload_id). |
character_status_invalid | 400 | The character is not draft, failed, reviewing or ready; the message names the current status. |
reference_blocked | 400 | The photo was declined by content policy. param is upload_id. |
invalid_api_key | 401 | Missing, malformed, or revoked X-Api-Key. |
insufficient_scope | 403 | The key does not carry the write scope. |
resource_not_found | 404 | Unknown character id, or an upload_id that is not yours (param names which). Cross-team existence is never leaked. |
character_busy | 409 | A render is in flight; retry after Retry-After seconds. |
idempotency_key_in_use | 409 | Same Idempotency-Key used with a different body, view or route. |
reference_unfit | 422 | The photo does not fit the view. reason says why; detected_view is set for wrong_view. |
too_many_requests | 429 | Burst > 40 or sustained > 30/min. |
reference_check_unavailable | 503 | The visual check could not run. Retry-After is in seconds — retry shortly. Nothing was stored. |
provider_unavailable | 503 | Character rendering is paused for your team; Retry-After is set. |
reference_check_unavailable and provider_unavailable are both 503 and mean different things. The first is a momentary hiccup in the fit check — Retry-After is 30 seconds. The second is a pause on your team’s character rendering and carries a 24-hour Retry-After. Branch on code, not on the status.2026-08-26 contract. No Aurous-Version pin isolates them: the version catalogue carries image and video pricing pointers only, not character pricing or the size of the reference set. Pinning an earlier Aurous-Version restores neither the smaller reference set nor the previous price. A character created before 2026-09-14 keeps the references it already has — add either of the two newer views on demand with POST /v1/characters/{id}/refs/{view}/regenerate; every character created on or after that date carries eight.Common pitfalls
- A 30-second client timeout will abort a legitimate request. Budget 60 seconds. Aborting does not undo anything — nothing is stored until every gate passes — but you lose the answer.
- A refusal does not empty the slot. Whatever the view already held stays; on a draft, an empty slot reads
rejecteduntil 24 hours pass with no further attempt, then readsmissingagain.rejectedis surfaced on drafts only — a refusedPUTon afailed,reviewingorreadycharacter leaves an empty slot readingmissing. See Views and lifecycle. - One key per view. An
Idempotency-Keyreused acrosshead_frontandfull_frontis409 idempotency_key_in_use, not a replay. PUTreplaces a generated view too. A view you overwrite this way becomesuploaded, which also means a later regenerate of that view returns400 reference_uploaded— replace it with another upload instead.
Authorizations
Your team API key (starts with al_live_).
Headers
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). One key per view: the view is part of the path, so reusing a key across two views returns 409 idempotency_key_in_use.
Optional API version pin (YYYY-MM-DD). Omit the header to receive the platform default, currently 2026-08-26.
^\d{4}-\d{2}-\d{2}$"2026-08-26"
Path Parameters
Opaque character ID
"char_01HXMQ7Z3K8Y2NABCDEFGHJKMR"
The view this photo shows
head_front, upper_front, lower_front, upper_back, lower_back, full_left, full_front, full_right Body
Upload ticket from POST /v1/characters/uploads/init, after you have PUT the image bytes to its upload_url. The image is validated (dimensions, then content policy, then a visual check) before anything is stored; a rejection returns 422 reference_unfit and leaves the ticket usable, so you can retry the same photo into a different view without re-uploading.
"upl_01HXMQ7Z3K8Y2NABCDEFGHJKMR"
Response
Photo filed; updated character returned
Opaque character ID.
"char_01HXMQ7Z3K8Y2NABCDEFGHJKMR"
Discriminator
character "character"
Display name.
"Aurora the Adventurer"
Lifecycle state. draft: references are being assembled; nothing has been charged and the character cannot be used for generation. New lifecycle states may be added in future — treat any status other than ready as "not yet usable". synthesizing: references are being built. ready: usable on POST /v1/images — both create flows advance here on their own. reviewing: reached only after POST /:id/resynthesize or POST /:id/build; call POST /:id/save to return to ready. failed: the build failed; error_message carries the reason and POST /:id/build (builder characters) or POST /:id/resynthesize retries. deleted: soft-deleted (filtered out of the list endpoint).
draft, synthesizing, reviewing, ready, failed, deleted "ready"
What the reference set is rendered as — nude unless you chose clothed, or — when you omitted nudity — your team's default is clothed. An explicit value always wins. Fixed once the references are built.
nude, clothed "clothed"
Reference images, one per view the character has. A character built today has eight; an older one can have fewer than eight (typically six, some of the oldest four). Do not assume a count — read views[], the canonical read model for new integrations, or build.missing_views. refs[] lists only the references that exist.
Show child attributes
Show child attributes
One entry per named view, in canonical order — every reference that maps to a named view, keyed by view, plus what is missing or was rejected. A reference from before named views existed (refs[].view is other) appears only in refs[].
Show child attributes
Show child attributes
What a build would render and cost right now. Always present.
Show child attributes
Show child attributes
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.
Show child attributes
Show child attributes
Machine-readable failure code from the most recent synthesize/resynthesize attempt. One of synthesis_failed, synthesis_timeout, provider_unavailable — a closed set to switch on, not customer-facing prose. Null when the most recent attempt succeeded (or none has run yet). Set on failed, but NOT failed-exclusive: a failed resynthesize restores the character to its prior working status (reviewing) rather than overwriting a good generation, so a reviewing row can carry a non-null code here — check this field for failure, not status. Cleared on the next resynthesize attempt and on success.
null
API contract version applied at the time this row was minted (D25 — frozen for replay across future version bumps).
"2026-08-26"

