anoman
Documentation home

POST /v1/3d/jobs

Reference · 3D — guarded, asynchronous text-to-3D. You send a text prompt, poll the job, then download a GLB model.

Overview

How a 3D job works

  1. GET /v1/3d/models lists the 3D models, each with its availability (available, busy or temporarily_unavailable), the inputs it accepts and its price_per_call.
  2. POST /v1/3d/jobs returns 202 with a job (status: "queued").
  3. Poll GET /v1/3d/jobs/{id}. While the job is not finished the response carries Retry-After: 10; wait that long between polls. status moves queued → in_progress → completed (or failed). Seven days after completion the files are deleted and the job reads expired.
  4. GET /v1/3d/jobs/{id}/content?file=model redirects (302) to a download URL that is valid for 5 minutes. ?file=preview gives a PNG preview.
  5. DELETE /v1/3d/jobs/{id} deletes a completed job's files now instead of waiting for the 8-day deletion. The job record stays, with status: "deleted".

The model is Hunyuan 3D Express (hy-3d-express). Input is a text prompt only; image input is not available.

Price

Each job is charged per completed model, in Rp for IDR accounts (US dollars otherwise). The current price is in GET /v1/3d/models (price_per_call). The price is fixed on the job when you create it, so you pay the price the create response shows. You are charged only for completed models: a failed or blocked job is not charged (charged: false).

3D needs topped-up balance. Signup credit, passes and plan allowances can't be used for it.

One job at a time

One job at a time per account: a second create while a job is still running returns 409 job_in_flight with that job's job_id. When the model is busy you get 429 model_busy with Retry-After: 60; try again after that many seconds. Nothing is charged for a refused create.

Request

curl https://api.anoman.io/v1/3d/jobs \
  -H "Authorization: Bearer anm-sk-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy-3d-express",
    "prompt": "a small wooden toy boat"
  }'

Then poll and download:

curl -i https://api.anoman.io/v1/3d/jobs/3dj_... \
  -H "Authorization: Bearer anm-sk-..."
 
curl -L -o boat.glb "https://api.anoman.io/v1/3d/jobs/3dj_.../content?file=model" \
  -H "Authorization: Bearer anm-sk-..."

Body

FieldDescription
modelA model id from GET /v1/3d/models, e.g. hy-3d-express. Required.
promptWhat to make, up to 1,000 characters. Required.
max_price_idr / max_price_usdOptional. Refuse (400 price_above_max) if the price is above this.

Use a customer API key. The master key and app credentials are refused (403 api_key_required).

For agents

Any HTTP tool works. Create the job, poll while honouring Retry-After, then download:

import time
import requests
 
BASE = "https://api.anoman.io/v1"
HEADERS = {"Authorization": "Bearer anm-sk-..."}
 
 
def make_3d(prompt: str, out_path: str = "model.glb") -> str:
    # Create. A busy model answers 429 model_busy with Retry-After: wait and try again.
    while True:
        r = requests.post(f"{BASE}/3d/jobs", headers=HEADERS,
                          json={"model": "hy-3d-express", "prompt": prompt})
        if r.status_code == 429 and r.json()["detail"]["error"] == "model_busy":
            time.sleep(int(r.headers.get("Retry-After", "60")))
            continue
        r.raise_for_status()
        break
    job = r.json()
 
    # Poll, waiting as long as Retry-After says.
    while job["status"] in ("queued", "in_progress"):
        time.sleep(int(r.headers.get("Retry-After", "10")))
        r = requests.get(f"{BASE}/3d/jobs/{job['id']}", headers=HEADERS)
        r.raise_for_status()
        job = r.json()
    if job["status"] != "completed":
        raise RuntimeError(f"3D job {job['status']}: {job['error']}")  # not charged
 
    # Download: the 302 goes to a short-lived URL (requests drops the API key on the redirect).
    glb = requests.get(f"{BASE}/3d/jobs/{job['id']}/content",
                       params={"file": "model"}, headers=HEADERS)
    glb.raise_for_status()
    with open(out_path, "wb") as f:
        f.write(glb.content)
    return out_path

Limits & guards

  • Prompt guard. Child-safety, violent extremism, real-person likeness, NSFW and content moderation checks run before the job is created; validated personal data is masked before the prompt leaves.
  • Output check. The preview of every result is checked before delivery; a blocked result fails and is not charged.
  • Label. The GLB is labelled as AI-generated in its name and metadata (…-ai-generated.glb); the job says "ai_generated": true.
  • Where it runs. Processed in Singapore. Files are stored in Jakarta and deleted within 8 days.
  • Caps. One running job per account; at most 10 creates an hour and 3 failed jobs a day per account (429 three_d_limit); 30 downloads a minute per key.

Terms

Your prompt or image is sent to the model provider in Singapore to make the model, and the provider may keep it for up to 30 days. Anoman does not store your prompt or image, and deletes the 3D files within 8 days. You are charged only for completed models. Only upload images you have the right to use. Outputs are AI-generated.

Errors

Errors come back as {"detail": {"error": "<code>", "message": "<English>", "message_id": "<Bahasa Indonesia>"}}.

StatuserrorMeaning
400price_above_maxThe price is above your max_price_*.
400input_not_supportedThe model doesn't accept that input.
402insufficient_balanceNot enough topped-up balance.
403api_key_requiredUse a customer API key, not the master key or an app credential.
403insufficient_account_roleYour workspace role can't create or delete 3D jobs.
403data_residency_violationThe key is locked to a region where 3D is not processed.
403pii_scan_errorThe prompt could not be checked for personal data. Nothing was charged.
403guardrail_triggeredThe input was blocked by the content checks. Nothing was charged.
403video_not_available / media_suspendedMedia generation or downloads are paused for this workspace.
404not_foundNo such job visible to this key.
409job_in_flightYou already have a 3D job running (job_id names it when your key can see it).
409not_readyThe files aren't ready yet.
409not_completedOnly a completed job's files can be deleted.
429model_busyBusy right now; retry after Retry-After (60 s).
429three_d_limitToo many 3D jobs for now; retry after Retry-After.
429rate_limit_exceededToo many downloads; retry in a minute.
503three_d_unavailable3D generation is temporarily unavailable. Nothing was charged.
503storage_unavailableStorage is temporarily unavailable; try again shortly.

A failed job's error holds a short code, for example content_blocked, generation_failed or timeout. Failed jobs are not charged.

Response

Illustrative example: the price comes from the API, not from this page.

{
  "id": "3dj_1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d",
  "model": "hy-3d-express",
  "status": "completed",
  "error": null,
  "price": { "idr": "<price in Rp>" },
  "charged": true,
  "created_at": "2026-11-22T08:00:00Z",
  "completed_at": "2026-11-22T08:01:30Z",
  "expires_at": "2026-11-29T08:01:30Z",
  "files": [
    { "file": "model", "format": "glb", "bytes": 1843200 },
    { "file": "preview", "format": "png" }
  ],
  "ai_generated": true,
  "processing_region": "Singapore"
}

On this page