API reference for Flux Srpo. FLUX.1 SRPO [dev] is a 12 billion parameter flow transformer that generates high-quality images from text with incredible aesthetics. It is suitable for personal and comme
The CFG (Classifier Free Guidance) scale is a measure of how close you want
the model to stick to your prompt when looking for a related image to show you. Default value: 4.5Range: 1 to 20
import fal_clientdef on_queue_update(update): if isinstance(update, fal_client.InProgress): for log in update.logs: print(log["message"])result = fal_client.subscribe( "fal-ai/flux/srpo/image-to-image", arguments={ "image_url": "https://fal.media/files/koala/Chls9L2ZnvuipUTEwlnJC.png", "prompt": "A cat dressed as a wizard with a background of a mystic forest." }, with_logs=True, on_queue_update=on_queue_update,)print(result)
The CFG (Classifier Free Guidance) scale is a measure of how close you want
the model to stick to your prompt when looking for a related image to show you. Default value: 4.5Range: 1 to 20
{ "image_url": "https://fal.media/files/koala/Chls9L2ZnvuipUTEwlnJC.png", "strength": 0.95, "num_inference_steps": 40, "prompt": "A cat dressed as a wizard with a background of a mystic forest.", "guidance_scale": 4.5, "sync_mode": false, "num_images": 1, "enable_safety_checker": true, "output_format": "jpeg", "acceleration": "none"}