bfl/flux-vision-upscaler
Flux Vision Upscaler by BFL - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.
PNG, JPEG, WebP, or GIF · 20 MiB maximum
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runbfl/flux-vision-upscalerInput Schema
6 parameters · 1 required · 5 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
image | string | Required | The URL of the image to upscale. |
seed | integer | Optional | The seed to use for the upscale. If not provided, a random seed will be used. |
steps | integer | Optional | Number of inference steps (4-50). · Min: 4 · Max: 50 · Default: 20 |
guidance | number | Optional | CFG/guidance scale (1-4). Controls how closely the model follows the prompt. · Min: 1 · Max: 4 · Default: 1 |
creativity | number | Optional | The creativity of the model. The higher the creativity, the more the model will deviate from the original. Refers to the denoise strength of the sampling. · Min: 0 · Max: 1 · Default: 0.3 |
upscale_factor | number | Optional | The upscale factor (1-4x). · Min: 1 · Max: 4 · Default: 2 |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "bfl/flux-vision-upscaler",
"image": "https://static.sandbase.ai/examples/bfl/flux-vision-upscaler/input_image_0.jpg",
"steps": 20,
"guidance": 1,
"creativity": 0.3,
"upscale_factor": 2,
"prompt": "a beautiful sunset over mountains"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Flux Vision Upscaler
Flux Vision Upscaler is a media enhancement workflow in the FLUX family. Flux Vision Upscaler by BFL - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly. It is designed to translate deliberate creative direction and supplied reference material into a coherent production asset, with attention to subject identity, composition, visual detail, and the specific transformation implied by this exact route.
Use this route when the project needs content-aware enlargement and restoration. Describe the intended result, what must remain recognizable, and the required composition, lighting, materials, atmosphere, and finish; keep technical delivery choices in the schema fields below.
Highlights
- Resolution enhancement. Enlarges source imagery while reconstructing useful visual detail.
- Texture recovery. Improves fine surfaces, edges, and perceived sharpness in small or soft inputs.
- Content-aware restoration. Uses scene understanding to rebuild detail that ordinary interpolation cannot recover.
- Production enlargement. Prepares reference imagery for larger placements while retaining recognizable composition and subject identity.
Pricing
| Configuration | Billing unit | Price |
|---|---|---|
| Base generation | Per request | $0.1 |
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| The project needs this exact FLUX capability | The intended task belongs to a different media workflow |
| Required source and control media are available | Necessary assets or usage rights are unavailable |
| Creative direction can state change and preservation goals | Output must be deterministic at pixel or frame level |
| Supported dimensions and formats match final delivery | Placement requires unsupported specifications |
| An asynchronous generated result fits production | A live frame-synchronous response is mandatory |
Prompt Guide
Lead with the main subject and action, then specify composition, context, lighting, materials, style, typography, and atmosphere. For editing, identify each source and clearly separate the requested transformation from the subjects, regions, geometry, or identity that must remain unchanged.
{
"image": "https://example.com/reference.png",
"seed": 1,
"steps": 20,
"guidance": 1
}
Technical Specs
| Spec | Value |
|---|---|
| Model ID | bfl/flux-vision-upscaler |
| Input fields | seed (integer)<br>image (string)<br>steps (integer; 4–50)<br>guidance (number; 1–4)<br>creativity (number; 0–1)<br>upscale_factor (number; 1–4) |
| Required input | image |
| Output fields | url, content_type |
| Execution | Asynchronous job |
Related Models
topaz/upscale/imagetopaz/upscale/videobfl/flux-video-upscale

