কনটেন্টে যান

Tripo H3.1 Image to 3D

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

মডেল id tripo3d/h3.1/image-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/tripo3d/h3.1/image-to-3d?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

API কী পান
Tripo ছবি থেকে 3D #3d#image-to-3d#3d-generation#tripo

PBR ম্যাটেরিয়াল, কোয়াড মেশ ও ফেস-সংখ্যা নিয়ন্ত্রণসহ একক ছবি থেকে 3D জেনারেশন

Tripo · 3D

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

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

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

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

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

3D মডেল তৈরির জন্য ব্যবহৃত ইনপুট ছবির URL।

texture_quality ডিফল্ট standard

texture-এর গুণমানের সেটিং; 'detailed' নির্বাচন করলে texture-এর রেজোলিউশন বাড়ে।

geometry_quality ডিফল্ট standard

geometry-এর গুণমানের সেটিং।

অ্যাডভান্সড texture_alignment · orientation · face_limit · model_seed · texture_seed · auto_size · enable_safety_checker
texture_alignment ডিফল্ট original_image

Texture alignment-এর reference: জেনারেট করা geometry-এর জন্য 'geometry' অথবা ইনপুট ছবির জন্য 'original_image' ব্যবহার করুন।

orientation ডিফল্ট default

মডেলের orientation; ইনপুট ছবির সঙ্গে মিলিয়ে নিতে 'align_image' এটি স্বয়ংক্রিয়ভাবে ঘোরায়।

mesh জেনারেশনের জন্য নির্দিষ্ট face-count লক্ষ্য; দেওয়া হলে এটি মডেলের অভিযোজিত count নির্বাচনকে অগ্রাহ্য করে।

geometry জেনারেশন পুনরুৎপাদনযোগ্য করার জন্য ব্যবহৃত seed।

texture জেনারেশন পুনরুৎপাদনযোগ্য করার জন্য ব্যবহৃত seed।

POST /run/tripo3d/h3.1/image-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.ru/v1/run/tripo3d/h3.1/image-to-3d?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Tripo H3.1 Image to 3D সম্পর্কে

`image_url`-এর একটি ছবি থেকে 3D মডেল তৈরি করে। অপশনের মধ্যে রয়েছে `face_limit` (1,000 to 2,000,000), `texture`, `pbr`, স্ট্যান্ডার্ড বা বিস্তারিত `texture_quality` ও `geometry_quality`, `quad` টপোলজি, `auto_size` এবং `orientation`। ফলে একটি প্রিভিউ রেন্ডার এবং পরবর্তী রিগিংয়ের জন্য একটি টাস্ক ID থাকে।

প্যারামিটার

ক্যানোনিকাল নাম অথবা নেটিভ নাম—দুটো একসঙ্গে নয়—পাঠান। ক্যানোনিকাল নামগুলো

নামধরন ডিফল্টঅনুমোদিত বিবরণ
image_urlআবশ্যক image
ধরনurl · image
3D মডেল তৈরির জন্য ব্যবহৃত ইনপুট ছবির URL।
face_limitঐচ্ছিক
ধরনinteger | null
১,০০০ – ২০,০০,০০০
mesh জেনারেশনের জন্য নির্দিষ্ট face-count লক্ষ্য; দেওয়া হলে এটি মডেলের অভিযোজিত count নির্বাচনকে অগ্রাহ্য করে।
textureঐচ্ছিক
ধরনboolean
ডিফল্টtrue
মডেল জেনারেট করা texture পাবে কি না তা নিয়ন্ত্রণ করে।
pbrঐচ্ছিক
ধরনboolean
ডিফল্টtrue
PBR materials (Physically Based Rendering) সক্রিয় করে; true হলে texture জেনারেশনও চালু হয়।
model_seedঐচ্ছিক
ধরনinteger | null
geometry জেনারেশন পুনরুৎপাদনযোগ্য করার জন্য ব্যবহৃত seed।
texture_seedঐচ্ছিক
ধরনinteger | null
texture জেনারেশন পুনরুৎপাদনযোগ্য করার জন্য ব্যবহৃত seed।
texture_qualityঐচ্ছিক
ধরনenum
ডিফল্টstandard
standarddetailed
texture-এর গুণমানের সেটিং; 'detailed' নির্বাচন করলে texture-এর রেজোলিউশন বাড়ে।
geometry_qualityঐচ্ছিক
ধরনenum
ডিফল্টstandard
standarddetailed
geometry-এর গুণমানের সেটিং।
texture_alignmentঐচ্ছিক
ধরনenum
ডিফল্টoriginal_image
original_imagegeometry
Texture alignment-এর reference: জেনারেট করা geometry-এর জন্য 'geometry' অথবা ইনপুট ছবির জন্য 'original_image' ব্যবহার করুন।
auto_sizeঐচ্ছিক
ধরনboolean
ডিফল্টfalse
মিটারে পরিমাপ করা বাস্তব জগতের মাত্রা দিতে স্বয়ংক্রিয় স্কেলিং।
orientationঐচ্ছিক
ধরনenum
ডিফল্টdefault
defaultalign_image
মডেলের orientation; ইনপুট ছবির সঙ্গে মিলিয়ে নিতে 'align_image' এটি স্বয়ংক্রিয়ভাবে ঘোরায়।
quadঐচ্ছিক
ধরনboolean
ডিফল্টfalse
quad topology সক্রিয় করে ত্রিভুজাকার face এবং 4-পাশের quad-এর মধ্যে নির্বাচন করুন। Quad ফলাফলের জন্য, Tripo ডেটা FBX bytes হিসেবে সরবরাহ করলে একটি FBX ফাইল ফেরত দেওয়া হয়।
enable_safety_checkerঐচ্ছিক
ধরনboolean
ডিফল্টtrue
কলকারী অনুমোদিত হলে false সেট করে স্ক্রিনিং শিথিল করা যায়।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

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

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "tripo3d/h3.1/image-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": 300,
    "usd": "0.30",
    "charged": 300,
    "refunded": 0
  },
  "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
    },
    "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
      },
      "base_model": {
        "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
      },
      "pbr_model": {
        "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
      }
    },
    "rendered_image": {
      "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
    },
    "task_id": "string"
  },
  "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-মাস অনুযায়ী অর্থপ্রদত্ত) অথবা অ্যাকাউন্ট সেটিংস বা ?storage= অনুযায়ী বিনামূল্যে ৭ দিন পর্যন্ত।
প্রতিটি মডেলে একই গঠনছবি, ভিডিও এবং অডিও—সব ক্ষেত্রেই type, url, content_type, width, height এবং duration। output হলো মডেলের নিজস্ব ফলাফল অবজেক্ট।
আউটপুটের ফিল্ড
model_mesh
object {url, content_type, file_name, file_size}জেনারেট করা 3D মডেল ধারণকারী GLB বা FBX ফাইল; ফরম্যাটটি Tripo কী তৈরি করে তার ওপর নির্ধারিত হয়।
model_urls
object {glb, fbx, base_model, pbr_model}3D মডেলের বিকল্প সংস্করণ নির্দেশকারী URL।
rendered_image
object {url, content_type, file_name, file_size} | nullজেনারেট করা 3D মডেল দেখানো রেন্ডার করা প্রিভিউ।
task_id
string | nullজেনারেট করা মডেল শনাক্তকারী পুনঃব্যবহারযোগ্য Tripo task ID, যা আরেকবার মডেল আপলোড না করেই rig বা rig-check অপারেশন করতে দেয়।

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

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