কনটেন্টে যান

Tripo P2 Image to 3D

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

মডেল id tripo3d/p2/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/p2/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#low-poly

PBR, quad টপোলজি, চারটি টেক্সচার কোয়ালিটি স্তর এবং টেক্সচার ভার্সন নির্বাচনের সুবিধাসহ ছবি থেকে 3D

Tripo · 3D

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

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

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

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

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

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

texture_quality ডিফল্ট standard

textures-এর quality setting।

অ্যাডভান্সড texture_version · export_orientation · face_limit · model_seed · texture_seed · delight · auto_size · export_uv · quad · enable_safety_checker
texture_version

texture modeling-এর জন্য ব্যবহৃত version। দ্রুত quality-এর জন্য v3.5-20260815 নির্বাচন করুন; ওই quality-এর জন্য অন্য version সমর্থিত নয়।

export_orientation

উল্লেখ করা হলে মডেল export-এর forward-axis setting।

mesh face-এর সর্বোচ্চ সীমা; quad topology-এর জন্য আলাদা সীমা 25,000।

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

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

POST /run/tripo3d/p2/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/p2/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 P2 Image to 3D সম্পর্কে

`image_url` থেকে একটি ছবিকে সর্বোচ্চ 50,000 ফেসের 3D মডেলে রূপান্তর করে (কোয়াড মেশের জন্য 25,000)। টেক্সচারের মান fast, standard, detailed বা extreme হতে পারে, এবং `texture_version` টেক্সচার মডেল নির্বাচন করে। অন্যান্য বিকল্পের মধ্যে PBR ম্যাপ, ডিলাইটিং, UV এক্সপোর্ট, স্বয়ংক্রিয় আকার নির্ধারণ এবং এক্সপোর্টের ফরওয়ার্ড অক্ষ (`export_orientation`) রয়েছে। পৃথক সিড জ্যামিতি ও টেক্সচার নিয়ন্ত্রণ করে।

প্যারামিটার

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

নামধরন ডিফল্টঅনুমোদিত বিবরণ
image_urlআবশ্যক image
ধরনurl · image
3D মডেল তৈরির জন্য ব্যবহৃত ইনপুট ছবির URL।
face_limitঐচ্ছিক
ধরনinteger | null
৪৮ – ৫০,০০০
mesh face-এর সর্বোচ্চ সীমা; quad topology-এর জন্য আলাদা সীমা 25,000।
textureঐচ্ছিক
ধরনboolean
ডিফল্টtrue
মডেল জেনারেট করা texture পাবে কি না তা নিয়ন্ত্রণ করে।
pbrঐচ্ছিক
ধরনboolean
ডিফল্টtrue
PBR material map জেনারেশন নিয়ন্ত্রণ করে। PBR চালু করলে textures-ও সক্রিয় হয়।
model_seedঐচ্ছিক
ধরনinteger | null
geometry জেনারেশন পুনরুৎপাদনযোগ্য করার জন্য ব্যবহৃত seed।
texture_seedঐচ্ছিক
ধরনinteger | null
texture জেনারেশন পুনরুৎপাদনযোগ্য করার জন্য ব্যবহৃত seed।
texture_qualityঐচ্ছিক
ধরনenum
ডিফল্টstandard
faststandarddetailedextreme
textures-এর quality setting।
texture_versionঐচ্ছিক
ধরনenum
v3.5-20260815v3.0-20250812v2.5-20250123
texture modeling-এর জন্য ব্যবহৃত version। দ্রুত quality-এর জন্য v3.5-20260815 নির্বাচন করুন; ওই quality-এর জন্য অন্য version সমর্থিত নয়।
delightঐচ্ছিক
ধরনboolean
ডিফল্টtrue
v3.5-20260815 ব্যবহার করে texturing-এর আগে baked-in lighting সরানো।
auto_sizeঐচ্ছিক
ধরনboolean
ডিফল্টfalse
মিটার এককে মাপা বাস্তব জগতের dimensions দেওয়ার জন্য স্বয়ংক্রিয় scaling।
export_uvঐচ্ছিক
ধরনboolean
ডিফল্টtrue
মডেলটি generated UV coordinates পাবে কি না তা নিয়ন্ত্রণ করে।
export_orientationঐচ্ছিক
ধরনenum
+x-x-y+y
উল্লেখ করা হলে মডেল export-এর forward-axis setting।
quadঐচ্ছিক
ধরনboolean
ডিফল্টfalse
triangles-এর পরিবর্তে quads ব্যবহার করা mesh topology।
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/p2/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": 1100,
    "usd": "1.10",
    "charged": 1100,
    "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/p2/image-to-3d.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt