ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Hunyuan 3D Pro Text to 3D

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id hunyuan-3d/v3.1/pro/text-to-3d
# 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/hunyuan-3d/v3.1/pro/text-to-3d?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

ਉਦਾਹਰਨ ਵਰਗੀਆਂ ਫ਼ਾਈਲਾਂ: $0.375 375 API ਕ੍ਰੈਡਿਟ · ≈ ₽40.30 ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਮਾਪੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Tencent ਟੈਕਸਟ ਤੋਂ 3D #3d#hunyuan#text-to-3d

1024 ਅੱਖਰਾਂ ਤੱਕ ਦੇ ਟੈਕਸਟ ਪ੍ਰੌਂਪਟ ਤੋਂ 3D ਮਾਡਲ ਸਿਰਜਦਾ ਹੈ, face count ਅਤੇ PBR ਵਿਕਲਪਾਂ ਸਮੇਤ

Tencent · 3D

ਤੁਹਾਡਾ ਪਹਿਲਾ ਨਤੀਜਾ ਇੱਥੇ ਹੋਵੇਗਾ

ਹੇਠਾਂ ਬੇਨਤੀ ਬਣਾਓ ਅਤੇ ਆਪਣੀ API ਕੁੰਜੀ ਨਾਲ ਚਲਾਓ। ਆਉਟਪੁੱਟ ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਕਾਪੀ ਕੀਤੇ ਜਾਂਦੇ ਹਨ ਅਤੇ ਹਮੇਸ਼ਾ ਲਈ ਜਾਂ ਮੁਫ਼ਤ ਵਿੱਚ 7 ਦਿਨ ਤੱਕ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ 88 / 1024

1024 UTF-8 ਅੱਖਰਾਂ ਦੀ ਵੱਧ ਤੋਂ ਵੱਧ ਲੰਬਾਈ ਵਾਲਾ ਸਿਰਜਣਾ ਪ੍ਰੌਂਪਟ, ਜੋ ਦੱਸਦਾ ਹੈ ਕਿ ਕਿਹੜੀ 3D ਸਮੱਗਰੀ ਬਣਾਉਣੀ ਹੈ।

ਡਿਫ਼ਾਲਟ 500000

ਪੌਲੀਗਨ ਫੇਸਾਂ ਦੀ ਇੱਛਿਤ ਗਿਣਤੀ, 40,000 ਤੋਂ 1,500,000 ਤੱਕ। ਪੂਰਵ-ਨਿਰਧਾਰਤ ਮੁੱਲ 500,000 ਹੈ।

ਉੱਨਤ generate_type
generate_type ਡਿਫ਼ਾਲਟ Normal

Normal ਵਾਲਾ ਟੈਕਸਚਰਯੁਕਤ ਮਾਡਲ ਅਤੇ Geometry ਵਾਲਾ ਬਿਨਾਂ ਟੈਕਸਚਰ ਦਾ, ਸਿਰਫ਼ ਜਿਓਮੈਟਰੀ ਵਾਲਾ ਸਫ਼ੈਦ ਮਾਡਲ ਚੁਣੋ। v3.1 ਵਿੱਚ LowPoly/Sketch ਨਹੀਂ ਚੁਣੇ ਜਾ ਸਕਦੇ।

POST /run/hunyuan-3d/v3.1/pro/text-to-3d?wait=20 ਕੋਟ → $0.375
# 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/hunyuan-3d/v3.1/pro/text-to-3d?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Hunyuan 3D Pro Text to 3D ਬਾਰੇ

`prompt` ਦੇ ਵੱਧ ਤੋਂ ਵੱਧ 1024 ਅੱਖਰਾਂ ਤੋਂ 3D ਮਾਡਲ ਬਣਾਉਂਦਾ ਹੈ। `generate_type` ਟੈਕਸਚਰ ਵਾਲਾ ਨਤੀਜਾ ਜਾਂ ਸਿਰਫ਼ ਜਿਓਮੈਟਰੀ ਵਾਲਾ ਚਿੱਟਾ ਮਾਡਲ ਚੁਣਦਾ ਹੈ, `enable_pbr` ਧਾਤੂ, ਰਫ਼ਨੈੱਸ ਅਤੇ ਨਾਰਮਲ ਟੈਕਸਚਰ ਜੋੜਦਾ ਹੈ, ਅਤੇ `face_count` 40,000 ਤੋਂ 1,500,000 ਤੱਕ ਹੁੰਦਾ ਹੈ। ਇੱਕ GLB ਫ਼ਾਈਲ, ਹੋਰ ਫਾਰਮੈਟ URL, ਇੱਕ ਸੀਡ ਅਤੇ ਥੰਬਨੇਲ ਆਉਟਪੁੱਟ ਕਰਦਾ ਹੈ।

ਪੈਰਾਮੀਟਰ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
≤ 1,024 ਅੱਖਰ
1024 UTF-8 ਅੱਖਰਾਂ ਦੀ ਵੱਧ ਤੋਂ ਵੱਧ ਲੰਬਾਈ ਵਾਲਾ ਸਿਰਜਣਾ ਪ੍ਰੌਂਪਟ, ਜੋ ਦੱਸਦਾ ਹੈ ਕਿ ਕਿਹੜੀ 3D ਸਮੱਗਰੀ ਬਣਾਉਣੀ ਹੈ।
generate_typeਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟNormal
NormalGeometry
Normal ਵਾਲਾ ਟੈਕਸਚਰਯੁਕਤ ਮਾਡਲ ਅਤੇ Geometry ਵਾਲਾ ਬਿਨਾਂ ਟੈਕਸਚਰ ਦਾ, ਸਿਰਫ਼ ਜਿਓਮੈਟਰੀ ਵਾਲਾ ਸਫ਼ੈਦ ਮਾਡਲ ਚੁਣੋ। v3.1 ਵਿੱਚ LowPoly/Sketch ਨਹੀਂ ਚੁਣੇ ਜਾ ਸਕਦੇ।
enable_pbrਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
PBR ਸਿਰਜਣਾ ਟੌਗਲ, ਜਦੋਂ generate_type Geometry ਹੋਵੇ ਤਾਂ ਨਿਸ਼ਕ੍ਰਿਆ ਰਹਿੰਦਾ ਹੈ। ਨਹੀਂ ਤਾਂ ਇਸਨੂੰ ਚਾਲੂ ਕਰਨ ਨਾਲ ਸਿਰਜੇ ਗਏ ਮਟੀਰੀਅਲ ਵਿੱਚ ਮੈਟੈਲਿਕ, ਰਫ਼ਨੈੱਸ ਅਤੇ ਨਾਰਮਲ ਟੈਕਸਚਰ ਸ਼ਾਮਲ ਹੁੰਦੇ ਹਨ।
face_countਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ500000
40,000 – 15,00,000
ਪੌਲੀਗਨ ਫੇਸਾਂ ਦੀ ਇੱਛਿਤ ਗਿਣਤੀ, 40,000 ਤੋਂ 1,500,000 ਤੱਕ। ਪੂਰਵ-ਨਿਰਧਾਰਤ ਮੁੱਲ 500,000 ਹੈ।
ਲੋੜੀਂਦਾ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "hunyuan-3d/v3.1/pro/text-to-3d",
  "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": 375,
    "usd": "0.375",
    "charged": 375,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
    },
    "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
    },
    "model_urls": {
      "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
      },
      "fbx": {
        "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
      },
      "obj": {
        "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
      },
      "mtl": {
        "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
      },
      "texture": {
        "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
      },
      "usdz": {
        "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
model_glb
object {url, content_type, file_name, file_size}ਸਿਰਜੀ ਗਈ 3D ਵਸਤੂ ਵਾਲੀ GLB ਫ਼ਾਈਲ।
thumbnail
object {url, content_type, file_name, file_size} | nullਸਿਰਜੇ ਗਏ ਮਾਡਲ ਦੀ ਝਲਕ ਦਿਖਾਉਣ ਵਾਲਾ ਥੰਬਨੇਲ।
model_urls
object {glb, fbx, obj, mtl, texture, usdz}ਵੱਖ-ਵੱਖ ਫਾਰਮੈਟਾਂ ਵਿੱਚ 3D ਮਾਡਲ ਦੇ ਲਿੰਕ।
seed
integer | nullਸਿਰਜਣਾ ਦੌਰਾਨ ਵਰਤਿਆ ਗਿਆ seed ਮੁੱਲ।

ਹੋਰ ਮਾਡਲ: ਟੈਕਸਟ ਤੋਂ 3D

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/hunyuan-3d/v3.1/pro/text-to-3d.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt