Flux Redux Schnell

Fast, efficient image variation model for rapid iteration and experimentation.


API

If you're looking for an API, you can choose from your desired programming language.

POST
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 import requests api_key = "YOUR_API_KEY" url = "https://api.segmind.com/v1/flux-redux-schnell" # Prepare data and files data = {} files = {} data['seed'] = 98566 data['megapixels'] = "1" data['num_outputs'] = 1 # For parameter "redux_image", you can send a raw file or a URI: # files['redux_image'] = open('IMAGE_PATH', 'rb') # To send a file # data['redux_image'] = 'IMAGE_URI' # To send a URI data['aspect_ratio'] = "1:1" data['output_format'] = "jpg" data['output_quality'] = 80 data['num_inference_steps'] = 4 data['disable_safety_checker'] = False headers = {'x-api-key': api_key} response = requests.post(url, data=data, files=files, headers=headers) print(response.content) # The response is the generated image
RESPONSE
image/jpeg
HTTP Response Codes
200 - OKImage Generated
401 - UnauthorizedUser authentication failed
404 - Not FoundThe requested URL does not exist
405 - Method Not AllowedThe requested HTTP method is not allowed
406 - Not AcceptableNot enough credits
500 - Server ErrorServer had some issue with processing

Attributes


seedint ( default: 98566 )

Random seed. Set for reproducible generation


megapixelsenum:str ( default: 1 )

Approximate number of megapixels for generated image. Use match_input to match the size of the input (with an upper limit of 1440x1440 pixels)

Allowed values:


num_outputsint ( default: 1 )

Number of outputs to generate

min : 1,

max : 4


redux_imagestr *

Input image to condition your output on. This replaces prompt for FLUX.1 Redux models


aspect_ratioenum:str ( default: 1:1 )

Aspect ratio for the generated image

Allowed values:


output_formatenum:str ( default: jpg )

Format of the output images

Allowed values:


output_qualityint ( default: 80 )

Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs

min : 0,

max : 100


num_inference_stepsint ( default: 4 )

Number of denoising steps. 4 is recommended, and lower number of steps produce lower quality outputs, faster.

min : 1,

max : 4


disable_safety_checkerbool ( default: 1 )

Disable safety checker for generated images.

To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.

Flux Redux Schnell: Advanced Image Refinement Model

Flux Redux Schnell is a cutting-edge AI model in the FLUX.1 family, specifically engineered for image enhancement and refinement. Unlike traditional models focused on generating images from scratch, Flux Redux Schnell is designed to improve the quality, detail, and aesthetics of existing images while preserving their original composition and intent.

Why Flux Redux Schnell Stands Out

Flux Redux Schnell specializes in image refinement, prioritizing:

  • Image enhancement: Elevates visual quality.

  • Detail improvement: Delivers sharper and more defined images.

  • Quality upscaling: Transforms lower-resolution images into high-resolution versions.

  • Style preservation: Maintains the artistic essence of the image.

  • Composition maintenance: Focuses on refinement rather than altering the image's core structure.

Unlike generation-focused models, Flux Redux Schnell is purpose-built for enhancing existing images, making it a vital tool for post-processing workflows.

Key Features of Flux Redux Schnell

Flux Redux Schnell offers a robust feature set tailored for exceptional image refinement:

  • Image quality enhancement: Improves overall visual appeal.

  • Detail refinement: Ensures intricate textures and clarity.

  • Texture improvement: Delivers natural and realistic finishes.

  • Style-consistent enhancement: Preserves artistic intent.

  • Resolution optimization: Scales images seamlessly.

  • Artifact reduction: Removes noise and distortions.

  • Natural detail addition: Enriches image authenticity.

Use Cases for Flux Redux Schnell

Flux Redux Schnell is a versatile tool suitable for various scenarios, including:

  • Enhancing low-quality images: Transforms blurry or pixelated visuals.

  • Improving AI-generated content: Refines outputs from other generative models.

  • Refining artistic works: Perfects digital artwork and illustrations.

  • Upscaling images: Increases resolution without compromising quality.

  • Adding natural details: Creates realistic enhancements in images.

  • Professional photo enhancement: Provides polished results for photographers and editors.

  • Content post-processing: Ideal for marketing, design, and creative industries.