Peke ki ngā ihirangi

Chrono Edit Lora Gallery · Paintbrush

Whakauru

id tauira chrono-edit-lora-gallery/paintbrush
# 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/chrono-edit-lora-gallery/paintbrush?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",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

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

Tēnei tono: $ 0.02 20 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
NVIDIA Whakatika Atahanga tae atu ki 720p #paint#edit#sketch

Te whakatika atahanga ā-huahua, ka panoni ngā rohe kua peitahia kia hāngai ki te akiaki

NVIDIA · Atahanga

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

Whakaahuatanga o ngā panonitanga hei whakamahi ki ngā wāhi kua tuhia.

•e hiahiatia ana image_url
Whakataka he kōnae,

Atahanga i tukuna mō te whakatika.

resolution taunoa 480p

Taumira mō te atahanga ka puta.

Arā atu mask · output_format · num_inference_steps · guidance_scale · lora_scale · seed · enable_safety_checker · turbo_mode · loras
mask_url
Whakataka he kōnae,

He kopare atahanga kōwhiringa, ā, ko ōna wāhanga pango ngā wāhi hei tuhi, hei peita rānei.

output_format taunoa png

Hōputu kōnae mō te atahanga ka puta.

taunoa 8

Te tapeke o ngā tukurua tango haruru hei mahi.

taunoa 1

Te kaha o te arataki kore-whakarōpū.

taunoa 1

Kaitauine whakarea ka whakamahia ki te pūurutau LoRA.

Kākano ka whakamahia i te wā whakatau.

taunoa []

He huinga kōwhiringa o ngā LoRA tāpiri hei hanumi, tae atu ki te 3.

POST /run/chrono-edit-lora-gallery/paintbrush?wait=20 utu → $ 0.02
# 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/chrono-edit-lora-gallery/paintbrush?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",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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ō Chrono Edit Lora Gallery · Paintbrush

Ka whakatika i tētahi atahanga mā te panoni i ngā wāhi kua huahua ki runga, e whai ana i te `prompt`. Mā te `mask_url` ā-kōwhiringa e tohu ngā rohe hei peita, ko ngā wāhi pango te tohu. Ko te awhe o `lora_scale` he 0 ki te 2, ko te taumira he 480p, 720p rānei, ā, he png te taunoa o te putanga. Ka taea te hanumi kia 3 ngā LoRA tāpiri mā `loras`.

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
Atahanga i tukuna mō te whakatika.
mask_urlkōwhiringa mask
Momourl · image
He kopare atahanga kōwhiringa, ā, ko ōna wāhanga pango ngā wāhi hei tuhi, hei peita rānei.
prompte hiahiatia ana
Momostring
Whakaahuatanga o ngā panonitanga hei whakamahi ki ngā wāhi kua tuhia.
num_inference_stepskōwhiringa
Momointeger
Taunoa8
2 – 50
Te tapeke o ngā tukurua tango haruru hei mahi.
guidance_scalekōwhiringa
Momonumber
Taunoa1
0 – 10
Te kaha o te arataki kore-whakarōpū.
resolutionkōwhiringa
Momoenum
Taunoa480p
480p720p
Taumira mō te atahanga ka puta.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Whakakā/whakaweto tirotiro haumaru, ā, ka whakamanahia te whakaweto mō ngā pūkete whai mana anake. Ka tirohia te haumaru o ngā tono katoa kāore he mana pēnei.
lora_scalekōwhiringa
Momonumber
Taunoa1
0 – 2
Kaitauine whakarea ka whakamahia ki te pūurutau LoRA.
seedkōwhiringa
Momointeger | null
Kākano ka whakamahia i te wā whakatau.
output_formatkōwhiringa
Momoenum
Taunoapng
jpegpngwebp
Hōputu kōnae mō te atahanga ka puta.
turbo_modekōwhiringa
Momoboolean
Taunoatrue
Whakakā/whakaweto aratau Turbo mō te whakatau tere ake.
loraskōwhiringa
Momoobject[]
Taunoa[]
He huinga kōwhiringa o ngā LoRA tāpiri hei hanumi, tae atu ki te 3.
loras[].pathe hiahiatia ana
Momostring
Wāhi o ngā taumaha LoRA i te hōputu Safetensors, ka tauwhāitihia hei URL, hei ara rānei.
loras[].scalekōwhiringa
Momonumber
Taunoa1
0 – 4
Kaitauine whakarea e tautuhi ana i te kaha o LoRA.
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": "chrono-edit-lora-gallery/paintbrush",
  "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": 20,
    "usd": "0.02",
    "charged": 20,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "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,
        "width": 1024,
        "height": 768
      }
    ],
    "prompt": "The user wants to add a surfer to the wave in the illustration while preserving the original ukiyo-e woodblock art style. The surfer should be depicted mid-action, crouched low on a modern-style surfboard, carving through the crest of the wave with one arm extended for balance and the other gripping the board. Their wavy hair and athletic physique should match the dynamic motion. The background must remain unchanged, including the iconic Mount Fuji and the traditional Japanese text, to maintain the artwork's historical aesthetic and composition.",
    "seed": 42
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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
images
array of object {url, content_type, file_name, file_size, width, height}Atahanga i hua mai i te whakatika.
prompt
stringTohutohu ka tukuna ki te tukanga whakatau.
seed
integerKākano ka whakamahia i te wā whakatau.

Ētahi atu tauira: Whakatika Atahanga

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