Leum chun t-susbaint

Hi3D 3D to Multicolor

Amalaich

ID a’ mhodail hitem3d/hi3d/multicolor
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/hitem3d/hi3d/multicolor?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mesh_url": "https://example.com/your-file.glb"
  }'

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

An t-iarrtas seo: ≈$0.40 400 creideasan API Ruith e air an duilleig seo

Faigh iuchair API
Hitem3D 3D #3d-to-3d#multicolor

Tionndaidhidh e GLB le inneach gu modail ioma-dhathach le 1-8 dathan airson clò-bhualadh 3D ioma-dhathach

Hitem3D · 3D

Thèid a’ chiad toradh agad an-seo

Tog iarrtas gu h-ìosal agus ruith e leis an iuchair API agad. Tha na h-às-churan air an lethbhreacadh dhan stòradh againn, air an cumail gu bràth no 7 latha an-asgaidh.

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

•riatanach

URL modail in-chuir le inneach. Cha ghabh e ach ri faidhlichean GLB, le crìoch meud de 200 MB.

Adhartach export_format · number_of_colors · enable_safety_checker
export_format bun-roghainn glb

Cruth às-chuir a’ mhodail ghinte, às aonais STL, USDZ agus 3MF oir chan eil taic aig a’ chom-pàirtiche dhaibh an-dràsta.

bun-roghainn 4

Àireamh dhathan a’ mhodail, le 0 a’ taghadh na h-ìre as àirde agus air a mholadh ma tha thu an dùil na dathan atharrachadh nas fhaide air adhart. Faodaidh àireamh shoilleir a bhith eadar 1 agus 8.

POST /run/hitem3d/hi3d/multicolor?wait=20 tuairmse → $0.40
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/hitem3d/hi3d/multicolor?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mesh_url": "https://example.com/your-file.glb"
  }'

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

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Mu Hi3D 3D to Multicolor

Gabhaidh e modail GLB le inneach (suas ri 200MB) agus lùghdaichidh e gu tionndadh ioma-dhathach freagarrach airson clò-bhualadh 3D ioma-dhathach. Tha `number_of_colors` eadar 1 agus 8, le 0 a’ ciallachadh an ìre as àirde, feumail ma tha thu an dùil na dathan a dheasachadh nas fhaide air adhart. Faodaidh an às-chur a bhith glb, obj no fbx.

Paramadairean

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
mesh_urlriatanach
Seòrsastring
URL modail in-chuir le inneach. Cha ghabh e ach ri faidhlichean GLB, le crìoch meud de 200 MB.
number_of_colorsroghainneil
Seòrsainteger
Bun-roghainn4
0 – 8
Àireamh dhathan a’ mhodail, le 0 a’ taghadh na h-ìre as àirde agus air a mholadh ma tha thu an dùil na dathan atharrachadh nas fhaide air adhart. Faodaidh àireamh shoilleir a bhith eadar 1 agus 8.
export_formatroghainneil
Seòrsaenum
Bun-roghainnglb
glbobjfbx
Cruth às-chuir a’ mhodail ghinte, às aonais STL, USDZ agus 3MF oir chan eil taic aig a’ chom-pàirtiche dhaibh an-dràsta.
enable_safety_checkerroghainneil
Seòrsaboolean
Bun-roghainntrue
A’ comasachadh sgrùdaidhean sàbhailteachd air in-churan mus tèid an giullachd nuair a tha true.
riatanach

Toradh

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "hitem3d/hi3d/multicolor",
  "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": 400,
    "usd": "0.40",
    "charged": 400,
    "refunded": 0
  },
  "input": {
    "mesh_url": "https://example.com/your-file.glb"
  },
  "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
    },
    "thumbnail": {
      "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
model_mesh
object {url, content_type, file_name, file_size}Faidhle anns a bheil am modail 3D ginte.
thumbnail
object {url, content_type, file_name, file_size} | nullÌomhaigh ro-sheallaidh a’ mhodail, ma tha i ri fhaighinn.

Barrachd mhodalan: 3D

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/hitem3d/hi3d/multicolor.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt