Peke ki ngā ihirangi

Tripo P2 Image to 3D

Whakauru

id tauira 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"

Ngā kōnae pēnei i te tauira: $ 1.10 1,100 whiwhinga API · ≈ ₽ 117.46 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Tripo Atahanga ki te 3D #3d#image-to-3d#3d-generation#low-poly

Atahanga ki te 3D me PBR, topology quad, ngā taumata kounga kakano e whā me te kōwhiringa putanga kakano

Tripo · 3D

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana image_url
Whakataka he kōnae,

URL atahanga tāuru i whakamahia hei waihanga tauira 3D.

texture_quality taunoa standard

Tautuhinga kounga mō ngā kakano.

Arā atu texture_version · export_orientation · face_limit · model_seed · texture_seed · delight · auto_size · export_uv · quad · enable_safety_checker
texture_version

Putanga i whakamahia mō te whakatauira kakano. Mō te kounga tere, kōwhiria v3.5-20260815; kāore e tautokona ētahi atu putanga mō taua kounga.

export_orientation

Tautuhinga tuaka whakamua mō te kaweake tauira, mēnā ka tohua.

Te mōrahi o ngā mata mesh, me tētahi tepe motuhake 25,000 mō te toporangi tapawhā.

He kākano hei whakaputa anō i te whakaputanga āhuahanga.

He kākano hei whakaputa anō i te whakaputanga kakano.

POST /run/tripo3d/p2/image-to-3d?wait=20 utu → $ 1.10
# 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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Tripo P2 Image to 3D

Ka huri i tētahi atahanga kotahi mai i `image_url` hei tauira 3D, tae atu ki te 50,000 mata (25,000 mō ngā mātiti quad). Ko te kounga kakano he fast, standard, detailed, extreme rānei, ā, mā `texture_version` e kōwhiri te tauira kakano. Ko ētahi atu kōwhiringa ko ngā mapa PBR, delighting, te kaweake UV, te rahi aunoa me te tuaka whakamua kaweake (`export_orientation`). Mā ngā kākano motuhake e whakahaere te āhuahanga me ngā kakano.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
image_urle hiahiatia ana image
Momourl · image
URL atahanga tāuru i whakamahia hei waihanga tauira 3D.
face_limitkōwhiringa
Momointeger | null
48 – 50,000
Te mōrahi o ngā mata mesh, me tētahi tepe motuhake 25,000 mō te toporangi tapawhā.
texturekōwhiringa
Momoboolean
Taunoatrue
Ka whakahaere mēnā ka whiwhi te tauira i ngā kakano kua whakaputaina.
pbrkōwhiringa
Momoboolean
Taunoatrue
Ka whakahaere i te whakaputanga o ngā mahere rauemi PBR. Mā te whakakā i te PBR ka whakakāngia hoki ngā kakano.
model_seedkōwhiringa
Momointeger | null
He kākano hei whakaputa anō i te whakaputanga āhuahanga.
texture_seedkōwhiringa
Momointeger | null
He kākano hei whakaputa anō i te whakaputanga kakano.
texture_qualitykōwhiringa
Momoenum
Taunoastandard
faststandarddetailedextreme
Tautuhinga kounga mō ngā kakano.
texture_versionkōwhiringa
Momoenum
v3.5-20260815v3.0-20250812v2.5-20250123
Putanga i whakamahia mō te whakatauira kakano. Mō te kounga tere, kōwhiria v3.5-20260815; kāore e tautokona ētahi atu putanga mō taua kounga.
delightkōwhiringa
Momoboolean
Taunoatrue
Te tango i te rama kua whakatōkia i mua i te kakano mā te whakamahi i v3.5-20260815.
auto_sizekōwhiringa
Momoboolean
Taunoafalse
Tauine aunoa kia whiwhi ai te tauira i ngā rahinga o te ao tūturu, inea ki te mita.
export_uvkōwhiringa
Momoboolean
Taunoatrue
Ka whakahaere mēnā ka whiwhi te tauira i ngā taunga UV i whakaputaina.
export_orientationkōwhiringa
Momoenum
+x-x-y+y
Tautuhinga tuaka whakamua mō te kaweake tauira, mēnā ka tohua.
quadkōwhiringa
Momoboolean
Taunoafalse
Toporangi mesh e whakamahi ana i ngā tapawhā, kaua ko ngā tapatoru.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Ka taea te whakangāwari i te tātari mā te tautuhi false, mēnā he mana tō te kaiwhakatuwhera.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
model_mesh
object {url, content_type, file_name, file_size}He kōnae GLB, FBX rānei kei roto te tauira 3D i whakaputaina, ā, ka whakatauhia te hōputu e tā Tripo whakaputanga.
model_urls
object {glb, fbx, base_model, pbr_model}Ngā URL e tohu ana ki ngā putanga kē o te tauira 3D.
rendered_image
object {url, content_type, file_name, file_size} | nullArokite kua tāngia e whakaatu ana i te tauira 3D i whakaputaina.
task_id
string | nullID tūmahi Tripo ka taea te whakamahi anō, e tautuhi ana i te tauira i whakaputaina mō te rig, rig-check rānei, kia taea ai aua mahi me te kore tuku anō i te tauira.

Ētahi atu tauira: Atahanga ki te 3D

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/tripo3d/p2/image-to-3d.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt