কনটেন্টে যান

Hunyuan3d V3 · Sketch to 3D

ইন্টিগ্রেট করুন

মডেল id hunyuan3d-v3/sketch-to-3d
# 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-v3/sketch-to-3d?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",
    "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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

উদাহরণের মতো ফাইল: ০.৩৭৫$ ৩৭৫ API ক্রেডিট চালানোর আগে আপনার ফাইল মাপা হয় এই পেজে চালান

API কী পান

Hunyuan3D V3, যা একটি স্কেচ বা লাইন আর্ট এবং টেক্সট প্রম্পটকে 3D মডেলে রূপান্তর করে

Tencent · 3D

আপনার প্রথম ফলাফল এখানে আসবে

নিচে একটি রিকোয়েস্ট তৈরি করে আপনার API কী দিয়ে চালান। আউটপুট আমাদের স্টোরেজে কপি করা হয়, চিরকাল বা বিনামূল্যে ৭ দিন পর্যন্ত রাখা হয়।

একটি অনুরোধ তৈরি করুন

মডেল স্কিমা থেকে কন্ট্রোল তৈরি করা হয়। এগুলো পরিবর্তন করলে কোড ও মূল্য আপডেট হয়।

•আবশ্যক 88 / 1024

3D কনটেন্টের বৈশিষ্ট্য টেক্সট প্রম্পটে নির্দিষ্ট করুন—যেমন এর ম্যাটেরিয়াল, রং বা শ্রেণি।

•আবশ্যক
একটি ফাইল ড্রপ করুন, অথবা

3D মডেলে রূপান্তরের জন্য স্কেচ বা line-art ছবির URL। সমর্থিত ছবির মাত্রা 128 × 128 থেকে 5000 × 5000 pixels পর্যন্ত।

ডিফল্ট 500000

পছন্দসই ফেসের সংখ্যা, 40,000 থেকে 1,500,000 পর্যন্ত।

অ্যাডভান্সড enable_safety_checker
POST /run/hunyuan3d-v3/sketch-to-3d?wait=20 মূল্য → ০.৩৭৫$
# 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-v3/sketch-to-3d?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",
    "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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

এই অনুরোধ চালান

আপনার key এই ব্রাউজারেই থাকে: এটি শুধু Doitong API-তে পাঠানো হয় এবং Remember টিক দিলে কেবল localStorage-এ সংরক্ষিত হয়। একটি API কী পান

Hunyuan3d V3 · Sketch to 3D সম্পর্কে

একটি স্কেচ বা লাইন-আর্ট ছবি (`input_image_url`, 128x128 থেকে 5000x5000 পিক্সেল) এবং রঙ, বিভাগ ও উপাদান বর্ণনাকারী সর্বোচ্চ 1024 অক্ষরের `prompt` প্রয়োজন। `enable_pbr` PBR উপাদান চালু করে, এবং `face_count` 40000 থেকে 1500000 পর্যন্ত লক্ষ্য পলিগন সংখ্যা নির্ধারণ করে। একটি GLB ফাইল, অন্যান্য ফরম্যাটের URL এবং একটি থাম্বনেইল ফেরত দেয়।

প্যারামিটার

নামধরন ডিফল্টঅনুমোদিত বিবরণ
input_image_urlআবশ্যক
ধরনurl · image
3D মডেলে রূপান্তরের জন্য স্কেচ বা line-art ছবির URL। সমর্থিত ছবির মাত্রা 128 × 128 থেকে 5000 × 5000 pixels পর্যন্ত।
enable_safety_checkerঐচ্ছিক
ধরনboolean
ডিফল্টtrue
কলকারী অনুমোদিত হলে false সেট করে স্ক্রিনিং শিথিল করা যায়।
promptআবশ্যক
ধরনstring
≤ ১,০২৪টি অক্ষর
3D কনটেন্টের বৈশিষ্ট্য টেক্সট প্রম্পটে নির্দিষ্ট করুন—যেমন এর ম্যাটেরিয়াল, রং বা শ্রেণি।
enable_pbrঐচ্ছিক
ধরনboolean
ডিফল্টfalse
PBR ম্যাটেরিয়াল তৈরির টগল।
face_countঐচ্ছিক
ধরনinteger
ডিফল্ট500000
৪০,০০০ – ১৫,০০,০০০
পছন্দসই ফেসের সংখ্যা, 40,000 থেকে 1,500,000 পর্যন্ত।
আবশ্যক

ফাইল প্যারামিটার হিসেবে একটি পাবলিক https:// URL, 10 MB পর্যন্ত একটি data: URI, অথবা আপলোডের file_url গ্রহণ করা হয়। ফাইল

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "hunyuan3d-v3/sketch-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": {
    "input_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "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
      },
      "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
আপনার ফাইল, আপনার পছন্দপ্রতিটি outputs[].url আমাদের স্টোরেজে একটি কপি: চিরকাল রাখা হয় (প্রতি GB-মাস অনুযায়ী অর্থপ্রদত্ত) অথবা অ্যাকাউন্ট সেটিংস বা ?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, usdz}বিভিন্ন ফরম্যাটে 3D মডেলের লিংক।
seed
integer | nullজেনারেশনের সময় ব্যবহৃত seed value।

আরও মডেল: ছবি থেকে 3D

AI এজেন্টদের জন্য: এই পৃষ্ঠাটি Markdown হিসেবে এখানে আছে https://doitong.com/bn/developers/models/hunyuan3d-v3/sketch-to-3d.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt