Qwen-Image-Lora(LoRA画像生成)
302.AIのAPIは、クラウドGPU上で独自にデプロイしたモデルから提供されています。一部のモデルはオープンソースモデルであり、一部は当社が独自に微調整または開発したものです。 Request
Body Params application/json
{
"prompt": "",
"loras": [
{
"path": "111",
"scale": 1.2
}
],
"image_size": {
"width": 1024,
"height": 768
},
"num_inference_steps": 30,
"guidance_scale": 4,
"output_format": "png",
"negative_prompt": "blurry, ugly"
}
Request Code Samples
curl --location --request POST 'https://api.302.ai/302/submit/qwen-image-lora' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "",
"loras": [
{
"path": "111",
"scale": 1.2
}
],
"image_size": {
"width": 1024,
"height": 768
},
"num_inference_steps": 30,
"guidance_scale": 4,
"output_format": "png",
"negative_prompt": "blurry, ugly"
}'
Responses
application/json {
"images": [
{
"url": "https://file.302.ai/gpt/imgs/20260113/fd7086d49689c38fd86eb0e9c80cba72.png",
"content_type": "image/png",
"file_size": 0,
"width": 1024,
"height": 768
}
],
"seed": 4254443117,
"has_nsfw_concepts": [
false
],
"debug_latents": null,
"debug_per_pass_latents": null
}
Modified at 2026-01-13 05:45:31