usamaehsan/qwen-image-edit-2511-fast
Qwen-Image-Edit-2511 with the 4-step Lightning LoRA fused offline, FP8 on L40S.
Run usamaehsan/qwen-image-edit-2511-fast with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| prompt |
string
|
Edit instruction
|
|
| image |
array
|
Reference image(s) as data: URIs. http URLs are rejected because Replicate bills their download time on every call.
|
|
| width |
integer
|
Min: 256 Max: 1536 |
Output width, /32
|
| height |
integer
|
Min: 256 Max: 1536 |
Output height, /32
|
| num_inference_steps |
integer
|
4
Min: 1 Max: 12 |
None
|
| true_cfg_scale |
number
|
1
Min: 1 Max: 7.5 |
Keep at 1.0. Above 1.0 doubles every forward pass and the Lightning distillation does not need it.
|
| seed |
integer
|
None
|
|
| output_format |
None
|
webp
|
None
|
| output_quality |
integer
|
85
Min: 1 Max: 100 |
None
|
{
"type": "object",
"title": "Input",
"required": [
"prompt",
"image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 6
},
"image": {
"type": "array",
"items": {
"type": "string"
},
"title": "Image",
"x-order": 1,
"description": "Reference image(s) as data: URIs. http URLs are rejected because Replicate bills their download time on every call."
},
"width": {
"type": "integer",
"title": "Width",
"maximum": 1536,
"minimum": 256,
"x-order": 2,
"description": "Output width, /32"
},
"height": {
"type": "integer",
"title": "Height",
"maximum": 1536,
"minimum": 256,
"x-order": 3,
"description": "Output height, /32"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Edit instruction"
},
"output_format": {
"enum": [
"webp",
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "An enumeration.",
"default": "webp",
"x-order": 7
},
"output_quality": {
"type": "integer",
"title": "Output Quality",
"default": 85,
"maximum": 100,
"minimum": 1,
"x-order": 8
},
"true_cfg_scale": {
"type": "number",
"title": "True Cfg Scale",
"default": 1,
"maximum": 7.5,
"minimum": 1,
"x-order": 5,
"description": "Keep at 1.0. Above 1.0 doubles every forward pass and the Lightning distillation does not need it."
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 4,
"maximum": 12,
"minimum": 1,
"x-order": 4
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}