Back to Comparison Hub/Edit Image with LoRA [Klein 9B] Pricing
Image to Image

Edit Image with LoRA [Klein 9B] API Pricing

Flux-2-Klein-9B Edit with LoRA delivers higher-fidelity, instruction-based edits combined with custom LoRA adapters. Best for premium stylized edits where lighting, textures, and identity must be preserved while applying a specific look.

Savings Alert30% ↓Cheaper than Fal.ai

About Edit Image with LoRA [Klein 9B]

Flux-2-Klein-9B Edit with LoRA delivers higher-fidelity, instruction-based image edits combined with custom LoRA adapters. Built on the 9B base for stronger detail retention and lighting consistency, it shines on premium stylized edits where the result must look polished and on-brand while still respecting the original scene. The model accepts 1 to 3 reference images, an editing prompt, and up to 3 LoRA adapters with per-LoRA `scale` weights. Pick this variant when the cost difference vs. the 4B is justified by needing the cleanest possible textures, lighting, and per-pixel detail in the output.

Interactive Savings Calculator

Estimate monthly API spend and compare absolute developer savings.

Monthly API Generations10,000 runs
50025,00050,00075,000100,000+
MuAPI Monthly Cost

$300.00

$0.03 per generation
Fal.ai Cost

$300.00

Not available
Estimated Monthly Savings$0.00
Annual Savings$0.00

Detailed Pricing Breakdown

ProviderEstimated RateNotes
muapiapp$0.03 per generationFlat per-image price for the 9B Edit-with-LoRA variant, regardless of LoRA count.
Fal.aiNot availableFlux-2 Klein 9B Edit with LoRA is not generally available on Fal.ai at the time of writing.
ReplicateNot availableFlux-2 Klein 9B Edit with LoRA is not generally available on Replicate at the time of writing.

Developer Integration Snippets

1import requests 2import time 3import json 4 5api_key = "YOUR_API_KEY" 6url = "https://api.muapi.ai/workflow/run/flux-2-klein-9b-edit-lora" 7 8def poll_for_result(run_id): 9 url = f"https://api.muapi.ai/workflow/run/{run_id}/api-outputs" 10 headers = { 11 "Content-Type": "application/json", 12 "x-api-key": f"{api_key}", 13 } 14 while True: 15 response = requests.get(url, headers=headers) 16 result = response.json() 17 18 if result['status'] == 'completed': 19 return json.loads(result['outputs']) 20 21 if result['status'] == 'failed': 22 raise Exception(result.get('error', 'Generation failed')) 23 24 time.sleep(5) 25 26data = { 27 "schemas": { 28 "input_data": { 29 "x-order-properties": [ 30 "prompt", 31 "images_list", 32 "lora_list", 33 "aspect_ratio" 34 ], 35 "type": "object", 36 "properties": { 37 "prompt": { 38 "examples": [ 39 "Add ornate gold filigree to the costume while preserving the pose, lighting, and background scene." 40 ], 41 "description": "Editing instruction describing the desired change.", 42 "type": "string", 43 "title": "Prompt", 44 "name": "prompt" 45 }, 46 "images_list": { 47 "examples": [ 48 "https://d3adwkbyhxyrtq.cloudfront.net/webassets/videomodels/flux-2-klein-9b-edit-in.jpg" 49 ], 50 "description": "List of 1-3 reference image URLs to edit.", 51 "field": "images_list", 52 "type": "array", 53 "items": { 54 "type": "string" 55 }, 56 "title": "Image URLs", 57 "name": "images_list", 58 "maxItems": 3 59 }, 60 "lora_list": { 61 "examples": [ 62 { 63 "path": "https://huggingface.co/example/lora/resolve/main/lora.safetensors", 64 "scale": 1 65 } 66 ], 67 "title": "LoRA List", 68 "name": "lora_list", 69 "type": "array", 70 "items": { 71 "type": "object", 72 "properties": { 73 "path": { 74 "type": "string", 75 "format": "url", 76 "title": "Path", 77 "name": "path", 78 "description": "URL or path to the LoRA weights." 79 }, 80 "scale": { 81 "type": "number", 82 "title": "Scale", 83 "name": "scale", 84 "description": "The LoRA weight multiplier. Default value: 1", 85 "minValue": 0, 86 "maxValue": 4, 87 "step": 0.01, 88 "default": 1 89 } 90 } 91 }, 92 "description": "Up to 3 LoRA adapters to apply during the edit.", 93 "maxItems": 3 94 }, 95 "aspect_ratio": { 96 "enum": [ 97 "16:9", 98 "9:16", 99 "1:1", 100 "3:4", 101 "4:3", 102 "21:9", 103 "9:21" 104 ], 105 "title": "Aspect Ratio", 106 "name": "aspect_ratio", 107 "type": "string", 108 "description": "The aspect ratio of the generated image", 109 "default": "1:1" 110 } 111 }, 112 "title": "BaseInput", 113 "required": [ 114 "prompt", 115 "images_list" 116 ], 117 "endpoint_url": "flux-2-klein-9b-edit-lora" 118 }, 119 "output_data": { 120 "x-fal-order-properties": [ 121 "image" 122 ], 123 "type": "object", 124 "properties": { 125 "video": { 126 "examples": [ 127 "https://d3adwkbyhxyrtq.cloudfront.net/webassets/videomodels/flux-2-klein-9b-edit.jpeg" 128 ], 129 "description": "The generated image", 130 "title": "Image", 131 "comparison": false 132 } 133 }, 134 "title": "Flux2Klein9BEditLora", 135 "required": [ 136 "image" 137 ] 138 } 139 } 140} 141 142headers = { 143 "Content-Type": "application/json", 144 "x-api-key": f"{api_key}", 145} 146 147response = requests.post(url, json=data, headers=headers) 148 149result = response.json() 150print("Queued:", result) 151 152outputs = poll_for_result(result["run_id"]) 153print("Completed:", outputs) 154

Model FAQ

Ready to scale your production?

Get instant access to developer keys. Integrate high-speed dynamic models in minutes with our robust SDKs.