generate_with_lora
Generate images by applying LoRA models to customize AI-generated visuals. Specify a prompt and LoRA URL to create tailored images with controlled style effects.
Instructions
Generate images with a LoRA model applied.
Args: lora_url: URL to the LoRA safetensors file (e.g. from HuggingFace). lora_scale: Strength of the LoRA effect (0.0-2.0, default 1.0).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"lora_url": "<lora_url>"
},
"name": "generate_with_lora"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| lora_url | Yes | ||
| lora_scale | No | ||
| model | No | fal-ai/flux-general | |
| width | No | ||
| height | No | ||
| num_inference_steps | No | ||
| guidance_scale | No | ||
| seed | No | ||
| num_images | No | ||
| output_format | No | png | |
| filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||