কনটেন্টে যান

Tripo3D · Image to 3D

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

মডেল id tripo3d/tripo/v2.5/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/tripo/v2.5/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 #image-to-3d#stylized

স্টাইল প্রিসেট, HD টেক্সচারিং, quad আউটপুট ও অ্যালাইনমেন্ট বিকল্পসহ ছবি থেকে 3D (v2.5)

Tripo · 3D

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

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

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

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

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

মডেল তৈরি করতে ব্যবহৃত ছবি URL।

texture ডিফল্ট standard

মডেলের texture setting: 'standard' হল ডিফল্ট, 'no' textures নিষ্ক্রিয় করে, আর 'HD' high-definition textures তৈরি করে।

Style setting; মূল appearance এবং style বজায় রাখতে এটি অনির্দিষ্ট রাখুন।

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

3D মডেল-এর texture-alignment priority setting; অন্য value না দিলে original_image ব্যবহার করা হয়।

orientation ডিফল্ট default

মডেলের orientation, প্রাথমিকভাবে `default` সেট করা থাকে। মূল ছবি-এর সঙ্গে alignment করতে মডেলটি স্বয়ংক্রিয়ভাবে ঘোরাতে `align_image` নির্বাচন করুন।

আউটপুট face-count cap; explicit limit না দিলে adaptiveভাবে নির্বাচন করা হয়।

Geometry জেনারেশন নিয়ন্ত্রণকারী integer seed; এটি পুনরায় ব্যবহার করলে অভিন্ন মডেল তৈরি হয়। বাদ দিলে একটি random value নির্বাচন করা হয়।

Texture-generation seed, integer হিসেবে দেওয়া হয় অথবা বাদ দিলে randomভাবে নির্বাচন করা হয়। একই seed value ব্যবহার করলে একই textures তৈরি হয়; মডেলের seed অপরিবর্তিত রেখে মডেলের textures বদলাতে texture_seed পরিবর্তন করুন।

POST /run/tripo3d/tripo/v2.5/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/tripo/v2.5/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 কী পান

Tripo3D · Image to 3D সম্পর্কে

একটি একক `image_url` থেকে একটি 3D মডেল জেনারেট করে। `texture` হতে পারে no, standard বা HD, ঐচ্ছিক PBR আউটপুটসহ। clay, steampunk, gold বা ancient bronze-এর মতো `style` প্রিসেট দিয়ে ফলাফলের স্টাইল বদলানো যায়। অন্যান্য নিয়ন্ত্রণের মধ্যে রয়েছে `face_limit`, `quad` (FBX বাধ্যতামূলক করে), `auto_size`, `texture_alignment` এবং ছবির সঙ্গে মডেল অ্যালাইন করার জন্য `orientation`।

প্যারামিটার

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

নামধরন ডিফল্টঅনুমোদিত বিবরণ
seedঐচ্ছিক
ধরনinteger | null
Geometry জেনারেশন নিয়ন্ত্রণকারী integer seed; এটি পুনরায় ব্যবহার করলে অভিন্ন মডেল তৈরি হয়। বাদ দিলে একটি random value নির্বাচন করা হয়।
face_limitঐচ্ছিক
ধরনinteger | null
আউটপুট face-count cap; explicit limit না দিলে adaptiveভাবে নির্বাচন করা হয়।
pbrঐচ্ছিক
ধরনboolean | null
ডিফল্টfalse
PBR toggle: False হলে PBR ছাড়া মডেল তৈরি হয়, আর True texture setting-কে override করে True হিসেবে গণ্য করে। ডিফল্টভাবে PBR চালু থাকে।
textureঐচ্ছিক
ধরনenum
ডিফল্টstandard
nostandardHD
মডেলের texture setting: 'standard' হল ডিফল্ট, 'no' textures নিষ্ক্রিয় করে, আর 'HD' high-definition textures তৈরি করে।
texture_seedঐচ্ছিক
ধরনinteger | null
Texture-generation seed, integer হিসেবে দেওয়া হয় অথবা বাদ দিলে randomভাবে নির্বাচন করা হয়। একই seed value ব্যবহার করলে একই textures তৈরি হয়; মডেলের seed অপরিবর্তিত রেখে মডেলের textures বদলাতে texture_seed পরিবর্তন করুন।
auto_sizeঐচ্ছিক
ধরনboolean | null
ডিফল্টfalse
বাস্তব জগতের sizing switch, ডিফল্টভাবে (False) নিষ্ক্রিয়; এটি মিটার ব্যবহার করে মডেলের dimensions স্বয়ংক্রিয়ভাবে সমন্বয় করে।
styleঐচ্ছিক
ধরনenum
person:person2cartoonobject:clayobject:steampunkanimal:venomobject:barbieobject:christmasgoldancient_bronze
Style setting; মূল appearance এবং style বজায় রাখতে এটি অনির্দিষ্ট রাখুন।
quadঐচ্ছিক
ধরনboolean | null
ডিফল্টfalse
চালু থাকলে Quad mode FBX আউটপুট বাধ্যতামূলক করে। quad=True এবং face_limit অনির্দিষ্ট থাকলে face_limit ডিফল্টভাবে 10000 হয়।
texture_alignmentঐচ্ছিক
ধরনenum
ডিফল্টoriginal_image
original_imagegeometry
3D মডেল-এর texture-alignment priority setting; অন্য value না দিলে original_image ব্যবহার করা হয়।
orientationঐচ্ছিক
ধরনenum
ডিফল্টdefault
defaultalign_image
মডেলের orientation, প্রাথমিকভাবে `default` সেট করা থাকে। মূল ছবি-এর সঙ্গে alignment করতে মডেলটি স্বয়ংক্রিয়ভাবে ঘোরাতে `align_image` নির্বাচন করুন।
image_urlআবশ্যক image
ধরনurl · image
মডেল তৈরি করতে ব্যবহৃত ছবি URL।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

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

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "tripo3d/tripo/v2.5/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": {
    "task_id": "string",
    "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
    },
    "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
    }
  },
  "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 হলো মডেলের নিজস্ব ফলাফল অবজেক্ট।
আউটপুটের ফিল্ড
task_id
string3D মডেল তৈরির task identifier।
model_mesh
object {url, content_type, file_name, file_size} | nullমডেলের আউটপুট।
base_model
object {url, content_type, file_name, file_size} | nullBase-model-এর আউটপুট।
pbr_model
object {url, content_type, file_name, file_size} | nullPBR-model-এর আউটপুট।
rendered_image
object {url, content_type, file_name, file_size} | nullমডেলের preview দেখানো ছবি।

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

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