Peke ki ngā ihirangi

TRELLIS.2 Trainer

Whakauru

id tauira trellis-2-lora-trainer
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/trellis-2-lora-trainer?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "data_url": "https://example.com/your-file.zip"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Ngā kōnae pēnei i te tauira: $ 15.973 15,973 whiwhinga API ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Microsoft Whakangungu

Ka whakangungu i ngā pūurutau LoRA mō Trellis 2 mā tētahi zip rawa 3D, mō te nui rawa o ngā tango haruru e toru

Microsoft · Kōnae

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.

resolution taunoa 512

Me ōrite te taumira whakangungu ki te taumira tukatuka-mua o te huingararaunga. He whirihoranga motuhake tō te whakangungu geometry me texture mō 512 me 1024, engari he whirihoranga kotahi mō ēnei taumira tō te whakangungu sparse-structure.

rank taunoa 32

Rangatanga o te pūurutau LoRA; mā ngā uara nui ake ka nui ake te kaha o te pūurutau.

•e hiahiatia ana

URL pūranga huingararaunga: tukuna ngā rawa 3D mata kua whakakaingia hei .zip, whakamahia rānei te zip huingararaunga TRELLIS.2 kua tukatukahia-mua, i whakahokia e data_preprocessing.

taunoa 1000

Tapeke tatau o ngā hīkoi whakangungu.

Kōwhiringa 1–3 denoiser TRELLIS.2 motuhake mai i sparse_structure, geometry me texture mō te fine-tuning. Mā te whakangungu whakarara e whakamahi he huingararaunga kotahi kua tukatukahia-mua hei whakaputa pūurutau LoRA motuhake mō ia tāurunga kua kōwhiria.

Arā atu learning_rate
taunoa 0.0001

Auau ako i whakamahia hei arotau i LoRA.

POST /run/trellis-2-lora-trainer?wait=20 utu → $ 15.973
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/trellis-2-lora-trainer?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "data_url": "https://example.com/your-file.zip"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/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ō TRELLIS.2 Trainer

Ka whakatikatika matatau i ngā pūurutau mai i tētahi zip kei `data_url`, kei roto he rawa 3D mata, he huinga raraunga kua tukatukahia rānei. Mā `denoisers` e kōwhiri ngā whāinga 1 ki te 3, ka whakangungua motuhake ia pūurutau. Ngā tautuhinga: `resolution` 512, 1024 rānei, `rank` 16, 32, 64 rānei, `learning_rate`, me `training_steps` 100 ki te 10000. Ka whakahoki i ngā pūurutau, ngā rahunga me ngā raraunga kua tukatukahia anō hei whakamahi.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
data_urle hiahiatia ana
Momostring
URL pūranga huingararaunga: tukuna ngā rawa 3D mata kua whakakaingia hei .zip, whakamahia rānei te zip huingararaunga TRELLIS.2 kua tukatukahia-mua, i whakahokia e data_preprocessing.
denoiserskōwhiringa
Momoenum[]
≤ 3 tūemi
Kōwhiringa 1–3 denoiser TRELLIS.2 motuhake mai i sparse_structure, geometry me texture mō te fine-tuning. Mā te whakangungu whakarara e whakamahi he huingararaunga kotahi kua tukatukahia-mua hei whakaputa pūurutau LoRA motuhake mō ia tāurunga kua kōwhiria.
resolutionkōwhiringa
Momoenum
Taunoa512
5121024
Me ōrite te taumira whakangungu ki te taumira tukatuka-mua o te huingararaunga. He whirihoranga motuhake tō te whakangungu geometry me texture mō 512 me 1024, engari he whirihoranga kotahi mō ēnei taumira tō te whakangungu sparse-structure.
rankkōwhiringa
Momoenum
Taunoa32
163264
Rangatanga o te pūurutau LoRA; mā ngā uara nui ake ka nui ake te kaha o te pūurutau.
learning_ratekōwhiringa
Momonumber
Taunoa0.0001
0.000001 – 0.01
Auau ako i whakamahia hei arotau i LoRA.
training_stepskōwhiringa
Momointeger
Taunoa1000
100 – 10,000
Tapeke tatau o ngā hīkoi whakangungu.
e hiahiatia ana

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "trellis-2-lora-trainer",
  "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": 15973,
    "usd": "15.973",
    "charged": 15973,
    "refunded": 0
  },
  "input": {
    "data_url": "https://example.com/your-file.zip"
  },
  "output": {
    "adapters": [
      {
        "denoiser": "sparse_structure",
        "resolution": 1,
        "lora_file": {
          "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
        },
        "rank": 1,
        "training_steps": 1,
        "learning_rate": 1.0
      }
    ],
    "failed": [
      {
        "denoiser": "sparse_structure",
        "error": "string"
      }
    ],
    "preprocessed_data_file": {
      "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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
adapters
array of object {denoiser, resolution, lora_file, rank, training_steps, learning_rate}Ngā kōnae pūurutau LoRA kua mapitia ki ngā āpure inference trellis-2-lora e hāngai ana. Kei roto i te whakautu he pūurutau mō ia denoiser i oti pai te whakangungu; whakamahia tana kōnae ki taua āpure e hāngai ana.
failed
array of object {denoiser, error}Ngā putanga whakangungu denoiser kāore i angitu; ko ngā denoiser kāore i oti te whakangungu anake ka puta ki konei, nō reira ki te angitu ngā denoiser katoa kua tonoa, ka noho wātea tēnei.
preprocessed_data_file
object {url, content_type, file_name, file_size}Zip huingararaunga TRELLIS.2 kua tukatukahia-mua, i whakamahia i te whakangungu, ā, e wātea ana mō te whakamahi anō.

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