Running a model

Submit a request

POST
/<address>
POST
/<address>
Submit a request
Run auray-ai/hunyuan-3d/image-to-3d
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
waitinteger
Hold the request open until the job settles, up to 300 seconds. The answer is still a status document; timed_out says the wait ran out rather than the job failing. One product refuses it outright and says so with wait_unsupported. 1 to 300.
logsstring
Include the runner's log lines on a read. Off by default, because a status polled at 10 Hz that carries a growing log is the same lines paid for a hundred times. One of "1", "0", "true", "false".
webhookstring
An https address to POST this job's success to, beside any endpoint the account has registered: sent when the job succeeds, tried once more if it is not acknowledged, and never for a job that fails or is cancelled — register an endpoint to hear those. Checked when it is stored and again before it is sent: https on the standard port (443) only, no user-info, no private or loopback host, at most 2,000 characters. Signed Auray-Signature v2 with a kid; verify it against our JWKS. No ownership challenge here, so the body names the account the job belongs to in account (the id GET /v1/me returns), inside what the signature covers: a receiver compares it with its own and refuses anything else. A URL.
fal_webhookstring
An https address to POST this job's success to, beside any endpoint the account has registered: sent when the job succeeds, tried once more if it is not acknowledged, and never for a job that fails or is cancelled — register an endpoint to hear those. Checked when it is stored and again before it is sent: https on the standard port (443) only, no user-info, no private or loopback host, at most 2,000 characters. Signed Auray-Signature v2 with a kid; verify it against our JWKS. No ownership challenge here, so the body names the account the job belongs to in account (the id GET /v1/me returns), inside what the signature covers: a receiver compares it with its own and refuses anything else. An alias for webhook; sending both with different values is refused with conflicting_options. A URL.
max_queue_lengthinteger
Refuse with 429 queue_too_long rather than queue behind more than this many of your own waiting requests for this model. 0 is a real value and means "only if none of mine is waiting". Decided before anything is charged. On a model that does not queue — every catalogue model today, whose lifecycle.queue in GET /v1/models is refuses — sending it is refused 422 queue_not_offered before anything is charged. 0 to 2147483647.
fal_max_queue_lengthinteger
Refuse with 429 queue_too_long rather than queue behind more than this many of your own waiting requests for this model. 0 is a real value and means "only if none of mine is waiting". Decided before anything is charged. On a model that does not queue — every catalogue model today, whose lifecycle.queue in GET /v1/models is refuses — sending it is refused 422 queue_not_offered before anything is charged. An alias for max_queue_length; sending both with different values is refused with conflicting_options. 0 to 2147483647.
Submit a request
curl --request POST \
  --url 'https://queue.auray.run/<address>' \
  --header 'Authorization: Bearer <api-key>'
  --header 'Content-Type: application/json' \
  --data '{
  
}'
Submit a request
curl -X POST https://queue.auray.run/auray-ai/hunyuan-3d/image-to-3d \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "image_path": "your-user-id/your-idempotency-key.png",
  "tier": "geometry"
}'

Authorizations

Authorizationstringheaderrequired

Bearer auray_sk_… — a key with the scope the route names.

Query Parameters

waitinteger
Hold the request open until the job settles, up to 300 seconds. The answer is still a status document; timed_out says the wait ran out rather than the job failing. One product refuses it outright and says so with wait_unsupported. 1 to 300.
logsstring
Include the runner's log lines on a read. Off by default, because a status polled at 10 Hz that carries a growing log is the same lines paid for a hundred times. One of "1", "0", "true", "false".
webhookstring
An https address to POST this job's success to, beside any endpoint the account has registered: sent when the job succeeds, tried once more if it is not acknowledged, and never for a job that fails or is cancelled — register an endpoint to hear those. Checked when it is stored and again before it is sent: https on the standard port (443) only, no user-info, no private or loopback host, at most 2,000 characters. Signed Auray-Signature v2 with a kid; verify it against our JWKS. No ownership challenge here, so the body names the account the job belongs to in account (the id GET /v1/me returns), inside what the signature covers: a receiver compares it with its own and refuses anything else. A URL.
fal_webhookstring
An https address to POST this job's success to, beside any endpoint the account has registered: sent when the job succeeds, tried once more if it is not acknowledged, and never for a job that fails or is cancelled — register an endpoint to hear those. Checked when it is stored and again before it is sent: https on the standard port (443) only, no user-info, no private or loopback host, at most 2,000 characters. Signed Auray-Signature v2 with a kid; verify it against our JWKS. No ownership challenge here, so the body names the account the job belongs to in account (the id GET /v1/me returns), inside what the signature covers: a receiver compares it with its own and refuses anything else. An alias for webhook; sending both with different values is refused with conflicting_options. A URL.
max_queue_lengthinteger
Refuse with 429 queue_too_long rather than queue behind more than this many of your own waiting requests for this model. 0 is a real value and means "only if none of mine is waiting". Decided before anything is charged. On a model that does not queue — every catalogue model today, whose lifecycle.queue in GET /v1/models is refuses — sending it is refused 422 queue_not_offered before anything is charged. 0 to 2147483647.
fal_max_queue_lengthinteger
Refuse with 429 queue_too_long rather than queue behind more than this many of your own waiting requests for this model. 0 is a real value and means "only if none of mine is waiting". Decided before anything is charged. On a model that does not queue — every catalogue model today, whose lifecycle.queue in GET /v1/models is refuses — sending it is refused 422 queue_not_offered before anything is charged. An alias for max_queue_length; sending both with different values is refused with conflicting_options. 0 to 2147483647.

Headers

X-Auray-Prioritystring
low puts this request behind every normal one. Nothing else changes. On a model that does not queue — every catalogue model today, whose lifecycle.queue in GET /v1/models is refuses — sending it is refused 422 queue_not_offered before anything is charged. One of "normal", "low".
X-Fal-Queue-Prioritystring
low puts this request behind every normal one. Nothing else changes. On a model that does not queue — every catalogue model today, whose lifecycle.queue in GET /v1/models is refuses — sending it is refused 422 queue_not_offered before anything is charged. An alias for X-Auray-Priority; sending both with different values is refused with conflicting_options. One of "normal", "low".
X-Auray-Request-Timeoutnumber
Seconds to wait for a seat. A request still waiting past it is failed request_timeout and refunded. It is a time-to-START and never a bound on inference: a job that has been dispatched is not stopped by it. On a model that does not queue — every catalogue model today, whose lifecycle.queue in GET /v1/models is refuses — it is accepted and has nothing to bound: such a model starts at once or refuses at once. 1 to 86400.
X-Fal-Request-Timeoutnumber
Seconds to wait for a seat. A request still waiting past it is failed request_timeout and refunded. It is a time-to-START and never a bound on inference: a job that has been dispatched is not stopped by it. On a model that does not queue — every catalogue model today, whose lifecycle.queue in GET /v1/models is refuses — it is accepted and has nothing to bound: such a model starts at once or refuses at once. An alias for X-Auray-Request-Timeout; sending both with different values is refused with conflicting_options. 1 to 86400.
X-Auray-Covered-Onlystring
Run this job only if a pass or a promotion of yours pays for it. A job neither pays for is refused 409 not_covered before anything is held or charged — or, when your pass had ended by the time the job started, refunded and refused so — where without this header your credits would pay for it; a job your plan runs only through a pass is refused as the plan refuses it (model_not_in_plan, pass_does_not_cover). For a job it lets through, the submit's answer on queue.auray.run says credits_charged: 0 and what paid in coverage, and so does GET /v1/jobs/{id}; a run on auray.run answers the job's output, which says neither — read GET /v1/jobs/{id} with its request_id. true is read as 1; any other value as no header. One of "1", "true".

Body

application/json
image_pathstringrequired
The photograph to build from: the path that POST /v1/uploads with address: "auray-ai/hunyuan-3d/image-to-3d" answered, sent once its bytes have been PUT. A path from POST /v1/uploads; this platform never fetches a URL you give it. Accepts image/png, image/jpeg, image/webp. At most 20 MB.
tierstringrequired
Required, with no default — and the refusal body carries no list of valid values, unlike video. One of "geometry", "textured", "rigged", "controlled-object", "controlled-character".
out_formatstringdefault: "glb"
fbx only means anything on a tier that produces a skeleton. One of "glb", "fbx".
control_typestring
Coupled to the tier rather than free — controlled-object takes bbox, controlled-character takes pose. One of "bbox", "pose".
control_datanumber[] or number[][]
A JSON list whose shape follows control_type, never a string. For bbox (controlled-object): three numbers [width, height, depth] — x across, y up, z front to back — each above 0 and at most 1; they are an aspect ratio, scaled so the longest is 1.0 before the model reads them. For pose (controlled-character): one row of six numbers per bone, [x1, y1, z1, x2, y2, z2] from the bone's start to its end, in the same axes, the figure standing about 1.8 units tall with its feet near y = -1, at most 512 rows. The model reads these coordinates as they are and was trained on Tencent's 51-bone A-pose — this field's second worked value, in openapi.json's examples and on the reference page, and what the desktop sends — so start from it and move the bones: a skeleton far from it does not fail, it steers the mesh somewhere the model never learned.
num_inference_stepsintegerdefault: 50
More steps, more detail, a longer run. Outside 1–100 is ignored rather than refused. Documented range: 1 to 100.
seedinteger
Reuse one to get the same mesh back. Outside the range it is refused with 422 seed_out_of_range, before any charge. Documented range: 0 to 2,147,483,647.
source_namestring
A label carried through to the stored job, for your own bookkeeping.
idempotency_keystring
Your own name for this request. Send the same one twice and the second call is answered with the first request rather than charged again. Idempotency-Key: as a header is accepted as an alias — that is the spelling a retrying proxy replays, and the one to use when running a model on auray.run, where a request that outlives its connection is answered 504 and recovered by replay. Omit it and the platform mints one. 1 to 64 characters.

Response

application/json

Accepted, and charged and running — or, when the platform is full, waiting in the queue and charged when it starts: credits_charged is what has been taken, credits_quoted what it costs. Always this status: a submit's outcome is in status, never in the status line.

Was this page helpful?

Submit a request
curl -X POST https://queue.auray.run/auray-ai/hunyuan-3d/image-to-3d \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "image_path": "your-user-id/your-idempotency-key.png",
  "tier": "geometry"
}'

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.