SandBase is live — $1 in free credits on signupStart free ›
Use in agentBFL models

BFL modelsimage generation api

bfl/flux-1/srpo/image-to-image

Flux 1 Srpo by BFL - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.

Input
The prompt to generate an image from.

PNG, JPEG, WebP, or GIF · 20 MiB maximum

The URL of the image to generate an image from.
0.011
The strength of the initial image. Higher strength values are better for this model. Range: 0.01 to 1.
The format of the generated image. Allowed values: jpeg, png.
The same seed and the same prompt given to the same version of the model will output the same image every time.
120
Range: 1 to 20.
1050
Range: 10 to 50.
Idle

Example output — click Run to generate your own

API README

FLUX.1 SRPO [dev]

FLUX.1 SRPO [dev] uses a preference-optimized FLUX.1 variant designed to favor visually compelling, prompt-aligned image results. This image-to-image route begins from a supplied source and transforms its appearance or content while retaining the visual foundation needed by the brief.

Use it when aesthetic selection and clear prompt interpretation matter more than neutral base-model behavior. Explain both the desired transformation and the composition, subject identity, or structure that should survive the edit. SRPO’s role is to improve the model’s preference toward satisfying results, while the brief remains responsible for the exact creative target.

Highlights

  • Preference-optimized editing. Applies an aesthetic and prompt-alignment preference model to source-led transformation.
  • Source composition retention. Keeps useful structure and identity from the input while changing requested content or style.
  • Visually satisfying reconstruction. Favors coherent color, lighting, detail, and composition in the revised result.
  • Directed semantic change. Uses natural-language art direction for object, environment, and stylistic revisions.

Pricing

ConfigurationBilling unitPrice
Base generationPer request$0.025

When to Use

✅ Good fit❌ Consider alternatives
The project needs this exact generation or editing routeThe intended task belongs to video, audio, or 3D media
Available references match every required local fieldRequired source assets or rights are unavailable
The brief can specify composition, color, and finishOutput must be deterministic at pixel level
Supported dimensions and formats fit final placementDelivery requires unsupported canvas specifications
An asynchronous generated image fits productionA live frame-synchronous response is mandatory

Prompt Guide

Write a complete visual brief: identify the subject and references, define composition and viewpoint, describe lighting, palette, materials, typography, and finish, then list exact preservation constraints. FLUX.2 Klein does not rely on prompt upsampling, so use clear descriptive sentences rather than sparse keywords.

{
  "prompt": "A photorealistic editorial composition with precise subject placement, controlled lighting, exact colors, and clean typography",
  "image": "https://example.com/reference.jpg",
  "seed": 1,
  "strength": 0.95,
  "output_format": "jpeg"
}

Technical Specs

SpecValue
Model IDbfl/flux-1/srpo/image-to-image
Input fieldsseed (integer)<br>image (string)<br>prompt (string)<br>strength (number; 0.01–1)<br>output_format (string; jpeg, png)<br>guidance_scale (number; 1–20)<br>num_inference_steps (integer; 10–50)
Required inputprompt, image
Output fieldsurl, content_type
ExecutionAsynchronous job

Related Models

  • bfl/flux-1/krea/redux
  • bfl/flux-1/lora
  • bfl/flux-1/pulid

Related Models

bfl/flux-1/srpoFlux 1 Srpo is BFL's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.bfl/flux-1/dev/editFlux 1 Dev Edit is BFL's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.bfl/flux-1/dev/image-to-imageFlux 1 Dev is BFL's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.bfl/flux-1/dev/reduxFlux 1 Dev Redux by BFL - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.bfl/flux-1/fillFlux 1 Fill is BFL's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.bfl/flux-1/kontextFlux 1 Kontext by BFL - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.bfl/flux-1/kontext-maxFlux 1 Kontext Max by BFL - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.bfl/flux-1/kreaFlux 1 Krea is BFL's advanced text-to-image AI model. Create photorealistic images, illustrations, and concept art from natural language descriptions with exceptional detail and prompt adherence.