콘텐츠로 건너뛰기

Qwen Image Edit Plus Lora Gallery · Add Background

통합

모델 id 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"

이 요청: ≈$0.035 35 API 크레딧 · ≈ ₽3.77 이 페이지에서 실행

API 키 받기
Alibaba · 이미지

첫 번째 결과가 여기에 표시됩니다

아래에서 요청을 작성하고 API 키로 실행하세요. 출력은 스토리지에 복사되며, 영구 보관하거나 7일 동안 무료로 보관할 수 있습니다.

요청 만들기

컨트롤은 모델 스키마에서 생성됩니다. 값을 변경하면 코드와 가격이 업데이트됩니다.

기본값 Remove white backgrou...

객체의 흰색 배경을 대체할 환경입니다. 원하는 장면이나 배경으로 설명하면 모델이 흰색 영역을 제거하고 해당 환경을 삽입합니다.

•필수 image_urls
파일을 끌어다 놓거나

편집할 이미지를 식별하는 URL입니다. 흰색 또는 그에 준하는 깨끗한 이미지 배경을 권장합니다.

image_size

출력 크기 재정의입니다. 지정하지 않으면 생성 이미지가 마지막 입력 이미지의 크기를 사용합니다.

num_images 기본값 1

생성할 이미지의 개수입니다.

고급 negative_prompt · acceleration · output_format · guidance_scale · num_inference_steps · lora_scale · seed · enable_safety_checker
기본값

생성 중 사용하는 네거티브 프롬프트입니다.

acceleration 기본값 regular

이미지 생성 가속 설정입니다. 속도와 품질의 균형을 위해 'regular'를 선택합니다.

output_format 기본값 png

결과 이미지의 형식입니다.

기본값 1

CFG scale을 사용한 프롬프트 준수 제어입니다. CFG는 Classifier Free Guidance를 의미합니다.

기본값 6

실행할 추론 단계 수입니다.

기본값 1

LoRA 모델을 조정해 적용하는 LoRA 기여도의 강도입니다.

프롬프트와 시드를 동일하게 유지하여 결과를 재현할 수 있는 무작위 생성 시드입니다.

POST /run/qwen-image-edit-plus-lora-gallery/add-background?wait=20 견적 → $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"

이 요청 실행

키는 이 브라우저에 유지됩니다. Doitong API로만 전송되며, 기억하기를 선택한 경우에만 localStorage에 저장됩니다. API 키 받기

Qwen Image Edit Plus Lora Gallery · Add Background 정보

깨끗하거나 흰색인 배경을 교체하는 사전 설정 LoRA입니다. `image_urls`를 제공하고 `prompt`에 원하는 환경을 설명합니다. 낮은 단계 기본값(6단계, `guidance_scale` 1)과 `lora_scale` 0~4로 조정할 수 있습니다. 호출당 png, jpeg 또는 webp 이미지 최대 4개를 생성합니다.

매개변수

표준 이름이나 네이티브 이름 중 하나만 보내세요. 표준 이름

이름유형 기본값허용됨 설명
image_urls필수 images
유형url[] · image
편집할 이미지를 식별하는 URL입니다. 흰색 또는 그에 준하는 깨끗한 이미지 배경을 권장합니다.
image_size선택 사항
유형object
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
출력 크기 재정의입니다. 지정하지 않으면 생성 이미지가 마지막 입력 이미지의 크기를 사용합니다.
guidance_scale선택 사항
유형number
기본값1
0 – 20
CFG scale을 사용한 프롬프트 준수 제어입니다. CFG는 Classifier Free Guidance를 의미합니다.
num_inference_steps선택 사항
유형integer
기본값6
2 – 50
실행할 추론 단계 수입니다.
acceleration선택 사항
유형enum
기본값regular
noneregular
이미지 생성 가속 설정입니다. 속도와 품질의 균형을 위해 'regular'를 선택합니다.
negative_prompt선택 사항
유형string
기본값
생성 중 사용하는 네거티브 프롬프트입니다.
seed선택 사항
유형integer | null
프롬프트와 시드를 동일하게 유지하여 결과를 재현할 수 있는 무작위 생성 시드입니다.
enable_safety_checker선택 사항
유형boolean
기본값true
생성 이미지 안전 검사 토글입니다. 승인된 계정만 비활성화할 수 있습니다. 승인되지 않은 요청에서는 검사가 항상 필수입니다.
output_format선택 사항
유형enum
기본값png
pngjpegwebp
결과 이미지의 형식입니다.
num_images선택 사항 num_outputs
유형integer
기본값1
1 – 4
생성할 이미지의 개수입니다.
prompt선택 사항
유형string
기본값Remove white background and add a realistic scene behind the object
객체의 흰색 배경을 대체할 환경입니다. 원하는 장면이나 배경으로 설명하면 모델이 흰색 영역을 제거하고 해당 환경을 삽입합니다.
lora_scale선택 사항
유형number
기본값1
0 – 4
LoRA 모델을 조정해 적용하는 LoRA 기여도의 강도입니다.
필수 표준 이름, 사용 가능

파일 매개변수에는 공개 https:// URL, 최대 10 MB의 data: URI 또는 업로드의 file_url을 사용할 수 있습니다. 파일

출력

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"
  }
}
파일 보관 방식 선택모든 outputs[].url은 스토리지에 저장된 복사본입니다. 계정 설정 또는 ?storage=에 따라 영구 보관(GB-월 단위 과금)하거나 7일 동안 무료로 보관합니다.
모든 모델에서 동일한 구조이미지, 동영상, 오디오 모두 type, url, content_type, width, height 및 duration을 사용합니다. output은 모델 자체의 결과 객체입니다.
출력 필드
images
array of object {url, content_type, file_name, file_size, width, height}생성 또는 편집으로 만들어진 이미지입니다.
seed
integer생성 중 사용하는 시드 값입니다.

더 많은 모델: 이미지 편집

AI 에이전트용: 이 페이지의 Markdown 버전: https://doitong.com/ko/developers/models/qwen-image-edit-plus-lora-gallery/add-background.md. 모든 모델 및 가이드: https://doitong.com/developers/llms.txt