Dža ko lil

Trellis 2 · Retexture

Integriruj

Modelosko id trellis-2/retexture
# 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-2/retexture?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",
    "mesh_url": "https://example.com/your-file.glb"
  }'

# 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"

Kava mangipen: $0.24 240 API krediti · ≈ ₽25.31 Phir les kate

Lel API klidin
Microsoft Kip ko 3D #image-to-3d

Palem teksturirarel jekha egzistime 3D mesh bila tekstura, te sovel e referencake kipesa, thaj del avri GLB

Microsoft · 3D

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul image_url
Čhiv jekh fajl, vaj

Reference-image URL utilizime va texturing.

resolution standardno 1024

Le teksturake detalja thaj e procesiripnaskiri sig zavisin katar akaja interna rezolucija le keripnaski: kana barjarel pe, del maj fine detalja, numa lel maj but vaxt.

•trubul

Retexturing source URL va bila tekstura 3D mesh ando GLB, OBJ, PLY vaj STL formato.

Lučhe texture_size · tex_slat_guidance_strength · tex_slat_guidance_rescale · tex_slat_guidance_interval_start · tex_slat_guidance_interval_end · tex_slat_sampling_steps · tex_slat_rescale_t · seed
texture_size standardno 2048

Mesh teksturakiri rezolucija vaš baking. Buter fino površinako detaljo anel bareder fajlo kana vazdines kadja rezolucija.

standardno 1

Kontrolo e teksturakere rangoskere fidelitetosko: buter paša sovipe e rangenca ando inputo ande uče settingura vazdel e vividnost, numa šaj te kerel oversaturation.

standardno 0

Vazdin kadja setting vaš noisy tekstura vaj color banding: kerel cikneder e artefakto save keren e zorali guidance ando texture stage.

standardno 0.6

E aktivacijakiri točka le vodipnaski bi klasifikatorosko vaš o keripe le teksturako. Sikavdi sar jekh frakcija le progresoski ando šumoskero ikalipe, voj thovel interval_start; o vodipe kerel buti numa ando intervalo maškar interval_start thaj interval_end.

standardno 0.9

Ačhavipaski granica va texture-stage classifier-free guidance, specifikime sar denoising fraction na cikneder sar tex_slat_guidance_interval_start.

standardno 12

Gindipe e denoising step-enge save istifadin vaš teksturakero keripe. Buter step-a mangena buter vreme numa šaj te den čisteder tekstura.

standardno 3

Thov e teksturakere detalosko scherpepen prekal o texture-generation noise schedule; vazdinepe del buter scherp detalja.

Seed istifado vaš reproducibilno randomno keripe.

POST /run/trellis-2/retexture?wait=20 hesab → $0.24
# 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-2/retexture?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",
    "mesh_url": "https://example.com/your-file.glb"
  }'

# 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"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Trellis 2 · Retexture

Aplicirin nevi tekstura pe mesh andar `mesh_url` (GLB, OBJ, PLY vaj STL), pe baza referencake `image_url`. `resolution` si 512 vaj 1024, a `texture_size` si 1024, 2048 vaj 4096. Texture-stage lidžaripe thaj sampling kontrola si dostupne. Geometry na kerel palem.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
image_urltrubul image
Tipurl · image
Reference-image URL utilizime va texturing.
mesh_urltrubul
Tipstring
Retexturing source URL va bila tekstura 3D mesh ando GLB, OBJ, PLY vaj STL formato.
seedopcionalno
Tipinteger | null
Seed istifado vaš reproducibilno randomno keripe.
resolutionopcionalno
Tipenum
standardno1024
5121024
Le teksturake detalja thaj e procesiripnaskiri sig zavisin katar akaja interna rezolucija le keripnaski: kana barjarel pe, del maj fine detalja, numa lel maj but vaxt.
tex_slat_guidance_strengthopcionalno
Tipnumber
standardno1
0 – 10
Kontrolo e teksturakere rangoskere fidelitetosko: buter paša sovipe e rangenca ando inputo ande uče settingura vazdel e vividnost, numa šaj te kerel oversaturation.
tex_slat_guidance_rescaleopcionalno
Tipnumber
standardno0
0 – 1
Vazdin kadja setting vaš noisy tekstura vaj color banding: kerel cikneder e artefakto save keren e zorali guidance ando texture stage.
tex_slat_guidance_interval_startopcionalno
Tipnumber
standardno0.6
0 – 1
E aktivacijakiri točka le vodipnaski bi klasifikatorosko vaš o keripe le teksturako. Sikavdi sar jekh frakcija le progresoski ando šumoskero ikalipe, voj thovel interval_start; o vodipe kerel buti numa ando intervalo maškar interval_start thaj interval_end.
tex_slat_guidance_interval_endopcionalno
Tipnumber
standardno0.9
0 – 1
Ačhavipaski granica va texture-stage classifier-free guidance, specifikime sar denoising fraction na cikneder sar tex_slat_guidance_interval_start.
tex_slat_sampling_stepsopcionalno
Tipinteger
standardno12
1 – 50
Gindipe e denoising step-enge save istifadin vaš teksturakero keripe. Buter step-a mangena buter vreme numa šaj te den čisteder tekstura.
tex_slat_rescale_topcionalno
Tipnumber
standardno3
1 – 6
Thov e teksturakere detalosko scherpepen prekal o texture-generation noise schedule; vazdinepe del buter scherp detalja.
texture_sizeopcionalno
Tipenum
standardno2048
102420484096
Mesh teksturakiri rezolucija vaš baking. Buter fino površinako detaljo anel bareder fajlo kana vazdines kadja rezolucija.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "trellis-2/retexture",
  "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": 240,
    "usd": "0.24",
    "charged": 240,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "mesh_url": "https://example.com/your-file.glb"
  },
  "output": {
    "model_glb": {
      "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
    }
  },
  "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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
model_glb
object {url, content_type, file_name, file_size}3D modelo kerdo ando GLB formato.

Bute modeli: Kip ko 3D

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/trellis-2/retexture.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt