Peke ki ngā ihirangi

Qwen Image Edit Plus Lora Gallery · Add Background

Whakauru

id tauira qwen-image-edit-plus-lora-gallery/add-background
# 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/qwen-image-edit-plus-lora-gallery/add-background?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "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"

Tēnei tono: ≈$ 0.035 35 whiwhinga API · ≈ ₽ 3.77 Whakahaerehia ki tēnei whārangi

Tikina he kī API
Alibaba · 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.

taunoa Remove white backgrou...

Te taiao whakakapi mō te papamuri mā o te mea, e whakaahuatia ana hei tirohanga, papamuri rānei e hiahia ana; ka tangohia e te tauira te wāhi mā, ka whakauru i taua taiao.

•e hiahiatia ana image_urls
Whakataka he kōnae,

Ngā URL e tautuhi ana i ngā atahanga hei whakatika. E taunakitia ana he papamuri mā, he papamuri māeneene rānei.

image_size

Te whakakapi i ngā rahinga putanga; ki te kore, ka tango te atahanga ka whakaputaina i tōna rahi mai i te atahanga tāuru whakamutunga.

num_images taunoa 1

Te maha o ngā atahanga hei whakaputa.

Arā atu negative_prompt · acceleration · output_format · guidance_scale · num_inference_steps · lora_scale · seed · enable_safety_checker
taunoa

Te tohutohu whakakore e whakamahia ana i te whakaputanga.

acceleration taunoa regular

Te tautuhinga whakatere whakaputa atahanga. Kōwhiria 'regular' mō te taurite i waenga i te tere me te kounga.

output_format taunoa png

Hōputu mō te atahanga ka puta.

taunoa 1

Te whakahaere ū ki te tohutohu mā te tauine CFG, ko CFG te Classifier Free Guidance.

taunoa 6

Tau o ngā hipanga whakatauira hei whakahaere.

taunoa 1

Kaha o te whai wāhi LoRA, ka whakaritea mā te whakatauine i te tauira LoRA.

He kākano whakaputanga matapōkere e taea ai te whakahoki i tētahi hua mā te pupuri i te tohutohu me te kākano kia kaua e panoni.

POST /run/qwen-image-edit-plus-lora-gallery/add-background?wait=20 utu → $ 0.035
# 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/qwen-image-edit-plus-lora-gallery/add-background?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "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ō Qwen Image Edit Plus Lora Gallery · Add Background

He LoRA tatūkē mō te whakakapi i tētahi papamuri mā, mā rānei. Homai `image_urls`, ā, whakaahuatia te taiao e hiahia ana ki `prompt`. Mā ngā taunoa hipanga-iti (6 hipanga, `guidance_scale` 1) me `lora_scale` 0 ki te 4 e taea ai te whakatikatika. Tae atu ki te 4 atahanga mō ia karanga ki te png, jpeg, webp rānei.

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_urlse hiahiatia ana images
Momourl[] · image
Ngā URL e tautuhi ana i ngā atahanga hei whakatika. E taunakitia ana he papamuri mā, he papamuri māeneene rānei.
image_sizekōwhiringa
Momoobject
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Te whakakapi i ngā rahinga putanga; ki te kore, ka tango te atahanga ka whakaputaina i tōna rahi mai i te atahanga tāuru whakamutunga.
guidance_scalekōwhiringa
Momonumber
Taunoa1
0 – 20
Te whakahaere ū ki te tohutohu mā te tauine CFG, ko CFG te Classifier Free Guidance.
num_inference_stepskōwhiringa
Momointeger
Taunoa6
2 – 50
Tau o ngā hipanga whakatauira hei whakahaere.
accelerationkōwhiringa
Momoenum
Taunoaregular
noneregular
Te tautuhinga whakatere whakaputa atahanga. Kōwhiria 'regular' mō te taurite i waenga i te tere me te kounga.
negative_promptkōwhiringa
Momostring
Taunoa
Te tohutohu whakakore e whakamahia ana i te whakaputanga.
seedkōwhiringa
Momointeger | null
He kākano whakaputanga matapōkere e taea ai te whakahoki i tētahi hua mā te pupuri i te tohutohu me te kākano kia kaua e panoni.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
He whakakā/whakaweto tirotiro haumaru atahanga kua whakaputaina, ka taea anake e ngā pūkete whai whakaaetanga te monokia. Ka noho whakahauanga ngā tirotiro mō ngā tono kāore he whakaaetanga.
output_formatkōwhiringa
Momoenum
Taunoapng
pngjpegwebp
Hōputu mō te atahanga ka puta.
num_imageskōwhiringa num_outputs
Momointeger
Taunoa1
1 – 4
Te maha o ngā atahanga hei whakaputa.
promptkōwhiringa
Momostring
TaunoaRemove white background and add a realistic scene behind the object
Te taiao whakakapi mō te papamuri mā o te mea, e whakaahuatia ana hei tirohanga, papamuri rānei e hiahia ana; ka tangohia e te tauira te wāhi mā, ka whakauru i taua taiao.
lora_scalekōwhiringa
Momonumber
Taunoa1
0 – 4
Kaha o te whai wāhi LoRA, ka whakaritea mā te whakatauine i te tauira 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": "qwen-image-edit-plus-lora-gallery/add-background",
  "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": 35,
    "usd": "0.035",
    "charged": 35,
    "refunded": 0
  },
  "input": {
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "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
      }
    ],
    "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.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
images
array of object {url, content_type, file_name, file_size, width, height}Ngā atahanga i hangaia mā te whakaputa, te whakatika rānei.
seed
integerTe uara kākano i whakamahia i te whakaputanga.

Ē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/qwen-image-edit-plus-lora-gallery/add-background.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt