কনটেন্টে যান

Hunyuan3D

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

মডেল 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"

এই অনুরোধ: ০.১৬$ ১৬০ API ক্রেডিট এই পেজে চালান

API কী পান
Tencent ছবি থেকে 3D #stylized

ঐচ্ছিক টেক্সচারিং এবং নিয়ন্ত্রণযোগ্য octree ডিটেইলসহ একটি রেফারেন্স ছবি থেকে 3D মেশ তৈরি করে

Tencent · 3D

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

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

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

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

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

3D মডেল জেনারেশনের জন্য ব্যবহৃত ছবির URL।

অ্যাডভান্সড num_inference_steps · guidance_scale · octree_resolution · seed
ডিফল্ট 50

চালানোর জন্য inference ধাপের সংখ্যা।

ডিফল্ট 7.5

মডেলে প্রয়োগ করা guidance-এর স্কেল।

ডিফল্ট 256

মডেলের octree-এর রেজোলিউশন।

পুনরুৎপাদনযোগ্য ছবির জন্য seed: মডেলের সংস্করণ অপরিবর্তিত থাকলে একই প্রম্পট ও seed থেকে একই ছবি তৈরি হয়।

POST /run/hunyuan3d/v2?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/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"

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

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

Hunyuan3D সম্পর্কে

`input_image_url` হিসেবে পাঠানো একটি ছবি থেকে 3D অ্যাসেট তৈরি করে। টেক্সচারযুক্ত ফলাফল পেতে `textured_mesh` true সেট করুন; এটি ডিফল্টভাবে বন্ধ। `octree_resolution` 1 থেকে 1024 পর্যন্ত (ডিফল্ট 256), `num_inference_steps` সর্বোচ্চ 50 এবং `guidance_scale` 0 থেকে 20 পর্যন্ত। একটি `seed` ফলাফল পুনরাবৃত্তিযোগ্য করে।

প্যারামিটার

নামধরন ডিফল্টঅনুমোদিত বিবরণ
input_image_urlআবশ্যক
ধরনurl · image
3D মডেল জেনারেশনের জন্য ব্যবহৃত ছবির URL।
seedঐচ্ছিক
ধরনinteger | null
পুনরুৎপাদনযোগ্য ছবির জন্য seed: মডেলের সংস্করণ অপরিবর্তিত থাকলে একই প্রম্পট ও seed থেকে একই ছবি তৈরি হয়।
num_inference_stepsঐচ্ছিক
ধরনinteger
ডিফল্ট50
১ – ৫০
চালানোর জন্য inference ধাপের সংখ্যা।
guidance_scaleঐচ্ছিক
ধরনnumber
ডিফল্ট7.5
০ – ২০
মডেলে প্রয়োগ করা guidance-এর স্কেল।
octree_resolutionঐচ্ছিক
ধরনinteger
ডিফল্ট256
১ – ১,০২৪
মডেলের octree-এর রেজোলিউশন।
textured_meshঐচ্ছিক
ধরনboolean
ডিফল্টfalse
আবশ্যক

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

আউটপুট

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"
  }
}
আপনার ফাইল, আপনার পছন্দপ্রতিটি outputs[].url আমাদের স্টোরেজে একটি কপি: চিরকাল রাখা হয় (প্রতি GB-মাস অনুযায়ী অর্থপ্রদত্ত) অথবা অ্যাকাউন্ট সেটিংস বা ?storage= অনুযায়ী বিনামূল্যে ৭ দিন পর্যন্ত।
প্রতিটি মডেলে একই গঠনছবি, ভিডিও এবং অডিও—সব ক্ষেত্রেই type, url, content_type, width, height এবং duration। output হলো মডেলের নিজস্ব ফলাফল অবজেক্ট।
আউটপুটের ফিল্ড
model_mesh
object {url, content_type, file_name, file_size}জেনারেট করা 3D অবজেক্ট ধারণকারী ফাইল।
seed
integerজেনারেশনের সময় প্রয়োগ করা seed।

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

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