{"version":"1","model":{"id":"fal-ai/flux-2/klein/4b/base/lora","name":"Flux 2 Klein 4B LoRA","kind":"image","availability":"available","available":true,"restricted":false,"api_key_only":false,"description":"Flux 2 Klein 4B LoRA — fast 4B parameter Klein model with LoRA support for efficient custom training.","categories":["lora"],"prompt_required":true,"prompt_supported":true,"supports":{},"aspect_ratios":["1:1","16:9","9:16","4:3","3:4","21:9","9:21","Custom"],"resolutions":["512","1024","2048","4096"],"durations":[],"output_formats":["jpeg","png","webp"],"max_images":4,"base_credits":3,"api_gross_margin_percent":20,"added_at":"2026-05-08","popularity_rank":118,"example_prompt":"A vintage 1950s science fiction pulp novel cover, retro rocket ship launching from a crater-pocked alien world, a ringed gas giant looming in the alien sky, hand-painted illustration, warm yellows and oranges, dramatic shadow play","preview":{"image":"https://cdn.artemotion.ai/file/artemotion-ai-bckt/model-previews/flux-2-klein-4b-lora-sm.webp"},"schema_url":"/api/v1/models?id=fal-ai%2Fflux-2%2Fklein%2F4b%2Fbase%2Flora","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://www.artemotion.ai/api/v1/models?id=fal-ai%2Fflux-2%2Fklein%2F4b%2Fbase%2Flora","title":"Flux 2 Klein 4B LoRA generation request","description":"Request body accepted by POST /api/v1/generate for fal-ai/flux-2/klein/4b/base/lora.","type":"object","properties":{"model_id":{"type":"string","const":"fal-ai/flux-2/klein/4b/base/lora","description":"ArtEmotion model identifier."},"extra":{"type":"object","additionalProperties":true,"description":"Model-specific settings may also be nested here."},"max_credits":{"type":"number","minimum":1,"description":"Reject before submission if the estimated list price exceeds this cap."},"webhook_url":{"type":"string","format":"uri","maxLength":2048},"webhook_secret":{"type":"string","maxLength":512},"folder_id":{"type":"string"},"prompt":{"type":"string"},"lora_path":{"title":"LoRA 1","description":"URL or path to the first LoRA weights.","default":"","type":"string"},"lora_scale":{"title":"LoRA 1 Scale","description":"Blend strength for LoRA 1 (0 = off, 1 = full).","default":1,"type":"number","minimum":0,"maximum":4,"multipleOf":0.05},"lora_path_2":{"title":"LoRA 2","description":"URL or path to the second LoRA weights.","default":"","type":"string"},"lora_scale_2":{"title":"LoRA 2 Scale","description":"Blend strength for LoRA 2.","default":1,"type":"number","minimum":0,"maximum":4,"multipleOf":0.05},"lora_path_3":{"title":"LoRA 3","description":"URL or path to the third LoRA weights.","default":"","type":"string"},"lora_scale_3":{"title":"LoRA 3 Scale","description":"Blend strength for LoRA 3.","default":1,"type":"number","minimum":0,"maximum":4,"multipleOf":0.05},"acceleration":{"title":"Acceleration","description":"The acceleration level to use for image generation.","default":"regular","type":"string","enum":["none","regular","high"]},"negative_prompt":{"title":"Negative Prompt","description":"Negative prompt for classifier-free guidance. Describes what to avoid in the image.","default":"","type":"string"},"guidance_scale":{"title":"Guidance Scale","description":"Guidance scale for classifier-free guidance.","default":5,"type":"number","minimum":0,"maximum":20},"enable_safety_checker":{"title":"Enable Safety Checker","description":"If set to true, the safety checker will be enabled.","default":true,"type":"boolean"},"num_inference_steps":{"title":"Num Inference Steps","description":"The number of inference steps to perform.","default":28,"type":"number","minimum":4,"maximum":50,"multipleOf":1},"output_format":{"title":"Output Format","description":"The format of the generated image.","default":"png","type":"string","enum":["jpeg","png","webp"]},"seed":{"title":"Seed","description":"The seed to use for the generation. If not provided, a random seed will be used.","type":"integer"},"aspect_ratio":{"type":"string","enum":["1:1","16:9","9:16","4:3","3:4","21:9","9:21","Custom"]},"resolution":{"type":"string","enum":["512","1024","2048","4096"]},"num_images":{"type":"integer","minimum":1,"maximum":4}},"required":["model_id","prompt"],"additionalProperties":false},"parameters":[{"key":"lora_path","label":"LoRA 1","type":"text","default":"","description":"URL or path to the first LoRA weights."},{"key":"lora_scale","label":"LoRA 1 Scale","type":"number","default":1,"min":0,"max":4,"step":0.05,"description":"Blend strength for LoRA 1 (0 = off, 1 = full)."},{"key":"lora_path_2","label":"LoRA 2","type":"text","default":"","description":"URL or path to the second LoRA weights."},{"key":"lora_scale_2","label":"LoRA 2 Scale","type":"number","default":1,"min":0,"max":4,"step":0.05,"description":"Blend strength for LoRA 2."},{"key":"lora_path_3","label":"LoRA 3","type":"text","default":"","description":"URL or path to the third LoRA weights."},{"key":"lora_scale_3","label":"LoRA 3 Scale","type":"number","default":1,"min":0,"max":4,"step":0.05,"description":"Blend strength for LoRA 3."},{"key":"acceleration","label":"Acceleration","type":"select","default":"regular","options":["none","regular","high"],"description":"The acceleration level to use for image generation."},{"key":"negative_prompt","label":"Negative Prompt","type":"text","default":"","description":"Negative prompt for classifier-free guidance. Describes what to avoid in the image."},{"key":"guidance_scale","label":"Guidance Scale","type":"number","default":5,"min":0,"max":20,"description":"Guidance scale for classifier-free guidance."},{"key":"enable_safety_checker","label":"Enable Safety Checker","type":"toggle","default":true,"description":"If set to true, the safety checker will be enabled."},{"key":"num_inference_steps","label":"Num Inference Steps","type":"number","default":28,"min":4,"max":50,"step":1,"description":"The number of inference steps to perform."},{"key":"output_format","label":"Output Format","type":"select","default":"png","options":["jpeg","png","webp"],"description":"The format of the generated image."},{"key":"seed","label":"Seed","type":"seed","description":"The seed to use for the generation. If not provided, a random seed will be used."}]}}