Njuolgga sisdollui

Trellis

Integrere

Modealla-id trellis
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/trellis?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dát ohcamuš: 0,02 $ 20 API-kreditta · ≈ 2,11 ₽ Vuodje dán siiddu alde

Oza API-čoavdaga
Microsoft Govas 3D #stylized

Ovtta gova 3D-mesh-genereren tekstuvrrain ja mesh-álkkastumiin

Microsoft · 3D

Dát lea du vuosttaš bohtos

Daga jearaldaga vuolábealde ja vuodje dan iežat API-čoavddain. Boađusat kopierejuvvojit min vurkemii, bisuhuvvojit álo dahje 7 beaivvi nuvttá.

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

•gáibiduvvo image_url
Luoitte fiilla, dahje

URL mii čájeha gáldu-govvagii 3D-nuppástuhttima várás.

Viiddiduvvon texture_size · ss_guidance_strength · ss_sampling_steps · slat_guidance_strength · slat_sampling_steps · mesh_simplify · seed
texture_size standárda 1024

Tekstuvrra resolušuvdna.

standárda 7.5

Stivrenfákta gáržžiduvvon struktuvrra ráhkadeamis.

standárda 12

Sampling-ceahkkiid lohku gáržžiduvvon struktuvrra ráhkadeamis.

standárda 3

Stivrenfákta struktuvrralaš latentaid ráhkadeamis.

standárda 12

Sampling-ceahkkiid lohku struktuvrralaš latentaid ráhkadeamis.

standárda 0.95

Fákta mii stivre mesh-ođasmahttima álkesvuođa.

Sieda geardduhahtti sluččadan ráhkadeapmái.

POST /run/trellis?wait=20 haddemearrádus → 0,02 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/trellis?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea Trellis birra

Molssuha ovtta `image_url`-gova tekstuvrahttojuvvon 3D-meshin. Heivehahtti parámetarat leat stivrema fámu ja sampling-ceahkit struktuvra- ja latent-ceahkkiide, `mesh_simplify` (0.9 gitta 0.98), ja `texture_size` 512, 1024 dahje 2048. `seed` dahká bohtosa geardduhahttin.

Parametterat

Sádde kanonala nama dahje iežas nama, ii goappašiid. Kanonala namat

NammaŠládja StandárdaDohkkehuvvon Govvádus
image_urlgáibiduvvo image
Šládjaurl · image
URL mii čájeha gáldu-govvagii 3D-nuppástuhttima várás.
seedeaktodáhtolaš
Šládjainteger | null
Sieda geardduhahtti sluččadan ráhkadeapmái.
ss_guidance_strengtheaktodáhtolaš
Šládjanumber
Standárda7.5
0 – 10
Stivrenfákta gáržžiduvvon struktuvrra ráhkadeamis.
ss_sampling_stepseaktodáhtolaš
Šládjainteger
Standárda12
1 – 50
Sampling-ceahkkiid lohku gáržžiduvvon struktuvrra ráhkadeamis.
slat_guidance_strengtheaktodáhtolaš
Šládjanumber
Standárda3
0 – 10
Stivrenfákta struktuvrralaš latentaid ráhkadeamis.
slat_sampling_stepseaktodáhtolaš
Šládjainteger
Standárda12
1 – 50
Sampling-ceahkkiid lohku struktuvrralaš latentaid ráhkadeamis.
mesh_simplifyeaktodáhtolaš
Šládjanumber
Standárda0.95
0,9 – 0,98
Fákta mii stivre mesh-ođasmahttima álkesvuođa.
texture_sizeeaktodáhtolaš
Šládjaenum
Standárda1024
51210242048
Tekstuvrra resolušuvdna.
gáibiduvvo Kanonala namma, maid sáhttá geavahit

Fiilaparametterat váldet almmolaš https:// URL:a, data: URI:a gitta 10 MB, dahje uploada file_url:a. Fiillat

Boađus

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "trellis",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 20,
    "usd": "0.02",
    "charged": 20,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "model_mesh": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "timings": {}
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
model_mesh
object {url, content_type, file_name, file_size}Fiila mas ráhkaduvvon 3D mesh lea.
timings
objectGieđahallama áigemihtut.

Eanet modeallat: Govas 3D

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/trellis.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt