Léim chuig an ábhar

Meshy 6 Retexture

Comhtháthú

Aitheantas na samhla 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"

An t-iarratas seo: $0.30 300 gcreidmheas API · ≈ ₽31.64 Rith ar an leathanach seo

Faigh eochair API
Meshy 3D Aschur 4K #3d#3d-to-3d#textures#pbr

Aththéacsú Meshy 6: cuma nua ar mhúnla 3D ó leid téacs nó íomhá stíle, le mapaí PBR roghnacha agus uigeachtaí suas le 8k

Meshy · 3D

Beidh do chéad toradh anseo

Tóg iarratas thíos agus rith é le d’eochair API. Cóipeáiltear na haschuir chuig ár stóráil, coinnithe go deo nó ar feadh 7 lá saor in aisce.

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

texture_resolution réamhshocrú 2k

Is iad na roghanna taifigh bun-datha 2k (2048), 4k (4096) agus 8k (8192). Cuireann roghnú 8k teorainn le léarscáileanna PBR go 4k agus fágann sé an léarscáil astaithe ar lár; níl 8k ná 4k ar fáil ach le Meshy 6 nó 7.

•riachtanach

Foinse samhla 3D le haghaidh uigeachta, soláthraithe mar URL atá inrochtana go poiblí nó URI sonraí base64 ag úsáid application/octet-stream mar chineál MIME. Is iad na hiarmhíreanna comhaid inghlactha .glb, .gltf, .obj, .fbx agus .stl.

Ardleibhéal text_style_prompt · image_style_url · enable_original_uv · enable_pbr · enable_safety_checker
0 / 600

Téacs stíle uigeachta, riachtanach in éagmais image_style_url agus teoranta do 600 carachtar.

Scaoil comhad, nó

Treoir uigeachta 2D a ghlacann tosaíocht ar text_style_prompt nuair a sholáthraítear í mar image_style_url. Soláthair an íomhá seo mura bhfuil text_style_prompt ann; is iad na cineálacha tacaithe .jpg, .jpeg agus .png.

POST /run/meshy/v6/retexture?wait=20 luachan → $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"

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le Meshy 6 Retexture

Athshocraíonn sé uigeachtaí dromchla mogalla atá ann cheana i bhformáid .glb, .gltf, .obj, .fbx nó .stl. Tagann an stíl ó `text_style_prompt` (suas le 600 carachtar) nó `image_style_url`, a bhfuil tosaíocht aige má thugtar an dá cheann. Is féidir `texture_resolution` a bheith 2k, 4k nó 8k; cuireann `enable_pbr` mapaí miotalachta, garbhachta agus gnáthacha leis, agus coinníonn `enable_original_uv` leagan amach UV an mhúnla. Áirítear san aschur GLB, formáidí eile, uigeachtaí agus mionsamhail.

Paraiméadair

AinmCineál RéamhshocrúCeadaithe Cur síos
model_urlriachtanach
Cineálstring
Foinse samhla 3D le haghaidh uigeachta, soláthraithe mar URL atá inrochtana go poiblí nó URI sonraí base64 ag úsáid application/octet-stream mar chineál MIME. Is iad na hiarmhíreanna comhaid inghlactha .glb, .gltf, .obj, .fbx agus .stl.
text_style_promptroghnach
Cineálstring | null
≤ 600 gcarachtar
Téacs stíle uigeachta, riachtanach in éagmais image_style_url agus teoranta do 600 carachtar.
image_style_urlroghnach
Cineálurl · image
Treoir uigeachta 2D a ghlacann tosaíocht ar text_style_prompt nuair a sholáthraítear í mar image_style_url. Soláthair an íomhá seo mura bhfuil text_style_prompt ann; is iad na cineálacha tacaithe .jpg, .jpeg agus .png.
texture_resolutionroghnach
Cineálenum
Réamhshocrú2k
2k4k8k
Is iad na roghanna taifigh bun-datha 2k (2048), 4k (4096) agus 8k (8192). Cuireann roghnú 8k teorainn le léarscáileanna PBR go 4k agus fágann sé an léarscáil astaithe ar lár; níl 8k ná 4k ar fáil ach le Meshy 6 nó 7.
enable_original_uvroghnach
Cineálboolean
Réamhshocrútrue
Coinnigh UVanna seachas iad a ghiniúint arís tríd an rogha seo a chumasú. D’fhéadfadh an caighdeán dul in olcas má chumasaítear í do shamhail nach bhfuil mapáil UV bhunaidh aici.
enable_pbrroghnach
Cineálboolean
Réamhshocrúfalse
Rialaíonn sé giniúint léarscáileanna PBR miotalachta, garbhachta agus normálta taobh leis an mbundath.
enable_safety_checkerroghnach
Cineálboolean
Réamhshocrútrue
Lascthrealamh seiceála sábháilteachta réamhphróiseála: déanann true seiceáil sábháilteachta ionchuir réamhriachtanach don phróiseáil.
riachtanach

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

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"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
model_glb
object {url, content_type, file_name, file_size}Réad 3D i bhformáid GLB le huigeachtaí nuashonraithe.
thumbnail
object {url, content_type, file_name, file_size} | nullMionsamhail a thaispeánann réamhamharc den tsamhail tar éis ath-uigeachta.
model_urls
object {glb, fbx, obj, usdz, blend, stl}Naisc chuig an tsamhail 3D i bhformáidí éagsúla.
texture_urls
array of object {base_color, metallic, normal, roughness}Comhaid uigeachta léirithe mar eagar réad.
text_style_prompt
string | nullLeid uigeachta a úsáideadh, nuair a soláthraíodh í.
image_style_url
string | nullURL na híomhá uigeachta a úsáideadh, nuair a soláthraíodh í.

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/meshy/v6/retexture.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt