Peke ki ngā ihirangi

Meshy 6 Retexture

Whakauru

id tauira meshy/v6/retexture
# 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/meshy/v6/retexture?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model_url": "https://example.com/your-file.glb"
  }'

# 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"

Tēnei tono: $ 0.30 300 whiwhinga API · ≈ ₽ 31.64 Whakahaerehia ki tēnei whārangi

Tikina he kī API
Meshy 3D Putanga 4K #3d#3d-to-3d#textures#pbr

Ka whakarerekē i te kakano o tētahi tauira 3D kua tukuake mai i te aki kuputuhi, i te atahanga āhua rānei, me ngā mahere PBR kōwhiringa me ngā kakano tae atu ki te 8k

Meshy · 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.

texture_resolution taunoa 2k

Ko ngā rahinga tae-pūtake ko 2k (2048), 4k (4096), me 8k (8192). Mā te kōwhiri i te 8k ka whakawhāiti ngā mahere PBR ki te 4k, ka waiho hoki te mahere emission; e wātea ana te 8k me te 4k ki Meshy 6, 7 rānei anake.

•e hiahiatia ana

Puna tauira 3D mō te tā-kakano, ka tukuna hei URL tūmatanui, hei URI raraunga base64 rānei e whakamahi ana i application/octet-stream hei momo MIME. Ko ngā toronga kōnae e whakaaetia ana ko .glb, .gltf, .obj, .fbx, me .stl.

Arā atu text_style_prompt · image_style_url · enable_original_uv · enable_pbr · enable_safety_checker
0 / 600

Kuputuhi kāhua kakano, me tuku mēnā kāore he image_style_url, ā, kaua e neke ake i te 600 pūāhua.

Whakataka he kōnae,

Aratohu tā-kakano 2D ka whai mana i mua i te text_style_prompt ina tukuna hei image_style_url. Tukuna tēnei atahanga mēnā kāore te text_style_prompt; ko ngā momo kōnae e tautokona ana ko .jpg, .jpeg, me .png.

POST /run/meshy/v6/retexture?wait=20 utu → $ 0.30
# 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/meshy/v6/retexture?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model_url": "https://example.com/your-file.glb"
  }'

# 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ō Meshy 6 Retexture

Ka whakakapi i ngā kakano mata o tētahi mata tīariari i te hōputu .glb, .gltf, .obj, .fbx, .stl rānei. Ka ahu mai te āhua i `text_style_prompt` (tae atu ki te 600 pūāhua), i `image_style_url` rānei; ki te hoatu ngā mea e rua, ko tēnei whakamutunga te mea matua. Ka taea te `texture_resolution` te 2k, 4k, 8k rānei, ka tāpirihia e `enable_pbr` ngā mahere konganuku, taratara me te pūnoa, ā, ka pupuri a `enable_original_uv` i te whakatakotoranga UV o te tauira. Kei te putanga he GLB, ētahi atu hōputu, ngā kakano me tētahi karakōnui.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
model_urle hiahiatia ana
Momostring
Puna tauira 3D mō te tā-kakano, ka tukuna hei URL tūmatanui, hei URI raraunga base64 rānei e whakamahi ana i application/octet-stream hei momo MIME. Ko ngā toronga kōnae e whakaaetia ana ko .glb, .gltf, .obj, .fbx, me .stl.
text_style_promptkōwhiringa
Momostring | null
≤ 600 pūāhua
Kuputuhi kāhua kakano, me tuku mēnā kāore he image_style_url, ā, kaua e neke ake i te 600 pūāhua.
image_style_urlkōwhiringa
Momourl · image
Aratohu tā-kakano 2D ka whai mana i mua i te text_style_prompt ina tukuna hei image_style_url. Tukuna tēnei atahanga mēnā kāore te text_style_prompt; ko ngā momo kōnae e tautokona ana ko .jpg, .jpeg, me .png.
texture_resolutionkōwhiringa
Momoenum
Taunoa2k
2k4k8k
Ko ngā rahinga tae-pūtake ko 2k (2048), 4k (4096), me 8k (8192). Mā te kōwhiri i te 8k ka whakawhāiti ngā mahere PBR ki te 4k, ka waiho hoki te mahere emission; e wātea ana te 8k me te 4k ki Meshy 6, 7 rānei anake.
enable_original_uvkōwhiringa
Momoboolean
Taunoatrue
Puritia ngā UV kaua e whakaputa anō mā te whakakā i tēnei kōwhiringa. Ka heke pea te kounga mēnā ka whakakāhia mō tētahi tauira kāore he mahere UV taketake.
enable_pbrkōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere i te whakaputanga o ngā mahere PBR metallic, roughness, me normal i te taha o te tae-pūtake.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Whakakā haumaru tukatuka-mua: mā te true ka noho te tirotiro haumaru tāuru hei whakaritenga mō te tukatuka.
e hiahiatia ana

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": "meshy/v6/retexture",
  "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": {
    "model_url": "https://example.com/your-file.glb"
  },
  "output": {
    "model_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
    },
    "thumbnail": {
      "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
      },
      "obj": {
        "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
      },
      "usdz": {
        "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
      },
      "blend": {
        "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
      },
      "stl": {
        "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
      }
    },
    "texture_urls": [
      {
        "base_color": {
          "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
        },
        "metallic": {
          "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
        },
        "normal": {
          "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
        },
        "roughness": {
          "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
        }
      }
    ],
    "text_style_prompt": "red and black chest",
    "image_style_url": "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_glb
object {url, content_type, file_name, file_size}Ahanoa 3D hōputu GLB me ngā kakano kua whakahoutia.
thumbnail
object {url, content_type, file_name, file_size} | nullKarakōnui e whakaatu ana i te arokite o te tauira i muri i te tā-kakano anō.
model_urls
object {glb, fbx, obj, usdz, blend, stl}Hononga ki te tauira 3D i ngā momo hōputu.
texture_urls
array of object {base_color, metallic, normal, roughness}Ngā kōnae kakano kua whakaaturia hei huinga ahanoa.
text_style_prompt
string | nullTohutohu tā-kakano i whakamahia, ina tukuna.
image_style_url
string | nullURL o te atahanga tā-kakano i whakamahia, ina tukuna.

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/meshy/v6/retexture.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt