Pāriet uz saturu

Hunyuan3D

Integrēt

Modeļa id hunyuan3d/v2
# 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/hunyuan3d/v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input_image_url": "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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Šis pieprasījums: 0,16 $ 160 API kredītu Izpildīt šajā lapā

Iegūt API atslēgu
Tencent Attēls uz 3D #stylized

Pārvērš vienu atsauces attēlu par 3D režģi ar neobligātu teksturēšanu un regulējamu oktreja detalizāciju

Tencent · 3D

Šeit būs jūsu pirmais rezultāts

Izveidojiet pieprasījumu tālāk un izpildiet to ar savu API atslēgu. Izvades tiek kopētas mūsu krātuvē un glabātas mūžīgi vai 7 dienas bez maksas.

Izveidot pieprasījumu

Vadīklas tiek ģenerētas no modeļa shēmas. Kods un cena tiek atjaunināti, kad tos maināt.

•obligāts
Nometiet failu vai

Attēla URL 3D modeļa ģenerēšanai.

Papildu num_inference_steps · guidance_scale · octree_resolution · seed
noklusējums 50

Izpildāmo secināšanas soļu skaits.

noklusējums 7.5

Modeļa lietotās vadības mērogs.

noklusējums 256

Modeļa oktālkoka izšķirtspēja.

Sēkla reproducējamiem attēliem: identiska uzvedne un sēkla rada identisku attēlu, ja modeļa versija nav mainīta.

POST /run/hunyuan3d/v2?wait=20 cena → 0,16 $
# 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/hunyuan3d/v2?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input_image_url": "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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Palaist šo pieprasījumu

Jūsu atslēga paliek šajā pārlūkprogrammā: tā tiek nosūtīta tikai uz Doitong API un saglabāta (localStorage) tikai tad, ja atzīmējat Atcerēties. Iegūt API atslēgu

Par Hunyuan3D

Izveido 3D objektu no viena attēla, kas nodots kā `input_image_url`. Iestatiet `textured_mesh` uz true, lai iegūtu teksturētu rezultātu; pēc noklusējuma tas ir izslēgts. `octree_resolution` ir no 1 līdz 1024 (pēc noklusējuma 256), `num_inference_steps` — līdz 50, bet `guidance_scale` — no 0 līdz 20. `seed` nodrošina atkārtojamus rezultātus.

Parametri

NosaukumsTips NoklusējumsAtļauts Apraksts
input_image_urlobligāts
Tipsurl · image
Attēla URL 3D modeļa ģenerēšanai.
seedneobligāts
Tipsinteger | null
Sēkla reproducējamiem attēliem: identiska uzvedne un sēkla rada identisku attēlu, ja modeļa versija nav mainīta.
num_inference_stepsneobligāts
Tipsinteger
Noklusējums50
1 – 50
Izpildāmo secināšanas soļu skaits.
guidance_scaleneobligāts
Tipsnumber
Noklusējums7.5
0 – 20
Modeļa lietotās vadības mērogs.
octree_resolutionneobligāts
Tipsinteger
Noklusējums256
1 – 1024
Modeļa oktālkoka izšķirtspēja.
textured_meshneobligāts
Tipsboolean
Noklusējumsfalse
obligāts

Failu parametriem nepieciešams publisks https:// URL, data: URI līdz 10 MB vai augšupielādes file_url. Faili

Izvade

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "hunyuan3d/v2",
  "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": 160,
    "usd": "0.16",
    "charged": 160,
    "refunded": 0
  },
  "input": {
    "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
    },
    "seed": 42
  },
  "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"
  }
}
Jūsu faili, jūsu izvēleKatrs outputs[].url ir kopija mūsu krātuvē: tiek glabāta mūžīgi (maksa par GB mēnesī) vai 7 dienas bez maksas — atbilstoši konta iestatījumam vai ?storage=.
Vienāda struktūra katram modelimtype, url, content_type, width, height un duration gan attēliem, gan video un audio. output ir paša modeļa rezultāta objekts.
Izvades lauki
model_mesh
object {url, content_type, file_name, file_size}Fails ar ģenerēto 3D objektu.
seed
integerĢenerēšanas laikā izmantotā sēkla.

Vairāk modeļu: Attēls uz 3D

AI aģentiem: šī lapa Markdown formātā ir pieejama https://doitong.com/lv/developers/models/hunyuan3d/v2.md. Visi modeļi un ceļveži: https://doitong.com/developers/llms.txt