FLUX.1-Canny-dev

FLUX.1 Canny [dev] is 12 billion parameter rectified flow transformer capable of generating an image based on a text description while following the structure of a given input image. 

Key Features

  1. Cutting-edge output quality.
  2. It blends impressive prompt adherence with maintaining the structure of source images based on canny edges.
  3. Trained using guidance distillation, making FLUX.1 Canny [dev] more efficient.
  4. Open weights to drive new scientific research, and empower artists to develop innovative workflows.
  5. Generated outputs can be used for personal, scientific, and commercial purposes as described in the FLUX.1 [dev] Non-Commercial License.

Announce Date: 21.11.2024
Parameters: 12B
Context: 77
VRAM requirements: 8.1 GB using 4 bits quantization, 16.2 GB using 8 bits quantization, 32.4 GB using 16 bits quantization
Developer: Black Forest Labs
License: flux-1 dev non commercial license

Public endpoint

Use our pre-built public endpoints to test inference and explore FLUX.1-Canny-dev capabilities.
Model Name Context Type GPU TPS Status Link
black-forest-labs/FLUX.1-Canny-dev 77.0 Public RTX4090 AVAILABLE try

API access to FLUX.1-Canny-dev endpoints

curl -s http://195.209.214.233:3000/generateImage \
-H "Content-Type: application/json" \
-d '{
"height": 512,
"width": 512,
"prompt": "A cinematic shot of a baby racoon wearing an intricate italian priest robe.",
"images_url": "https://comfyanonymous.github.io/ComfyUI_examples/flux/girl_in_field.png",
"guidance_scale": -1,
"num_inference_steps": -1,
"seed": -1
}' | jq '.image_byte_base64' | base64 -d > image.png
$response = Invoke-WebRequest http://195.209.214.233:3000/generateImage `
-Method POST `
-Headers @{
"Content-Type" = "application/json"
} `
-Body (@{
height = 512
width = 512
prompt = "A cinematic shot of a baby racoon wearing an intricate italian priest robe."
images_url = "https://comfyanonymous.github.io/ComfyUI_examples/flux/girl_in_field.png"
guidance_scale = -1
num_inference_steps = -1
seed = -1
} | ConvertTo-Json)
($response.Content | ConvertFrom-Json).generation_time
$image_byte_base64 = ($response.Content | ConvertFrom-Json).image_byte_base64
$decoded = [System.Convert]::FromBase64CharArray($image_byte_base64, 0, $image_byte_base64.Length)
Set-Content image.png -Value $decoded -Encoding Byte
import requests
from PIL import Image
from io import BytesIO
import base64
response = requests.post("http://195.209.214.233:3000/generateImage",
headers={"Content-Type":"application/json"},
json={
"height": 512,
"width": 512,
"prompt": "A cinematic shot of a baby racoon wearing an intricate italian priest robe.",
"images_url": "https://comfyanonymous.github.io/ComfyUI_examples/flux/girl_in_field.png",
"guidance_scale": -1,
"num_inference_steps": -1,
"seed": -1
}
)
image_bytes_base64 = base64.b64decode(response.json()["image_byte_base64"])
img = Image.open(BytesIO(image_bytes_base64))
img.save("image.png")

Private server

Rent your own physically dedicated instance with hourly or long-term monthly billing.

We recommend deploying private instances in the following scenarios:

  • maximize endpoint performance,
  • enable full context for long sequences,
  • ensure top-tier security for data processing in an isolated, dedicated environment,
  • use custom weights, such as fine-tuned models or LoRA adapters.

Recommended configurations for hosting FLUX.1-Canny-dev

Prices:
Name vCPU RAM, MB Disk, GB GPU Price, hour
teslaa2-1.16.32.160 16 32768 160 1 $0.38 Launch
rtx2080ti-1.16.32.160 16 32768 160 1 $0.41 Launch
teslat4-1.16.16.160 16 16384 160 1 $0.46 Launch
teslaa10-1.16.32.160 16 32768 160 1 $0.53 Launch
rtx3080-1.16.32.160 16 32768 160 1 $0.57 Launch
rtx3090-1.16.24.160 16 24576 160 1 $0.88 Launch
rtx4090-1.16.32.160 16 32768 160 1 $1.15 Launch
teslav100-1.12.64.160 12 65536 160 1 $1.20 Launch
rtx5090-1.16.64.160 16 65536 160 1 $1.59 Launch
teslaa100-1.16.64.160 16 65536 160 1 $2.58 Launch
teslah100-1.16.64.160 16 65536 160 1 $5.11 Launch
Prices:
Name vCPU RAM, MB Disk, GB GPU Price, hour
teslaa2-1.16.32.160 16 32768 160 1 $0.38 Launch
teslaa10-1.16.32.160 16 32768 160 1 $0.53 Launch
teslat4-1.16.64.160 16 65536 160 1 $0.55 Launch
rtx2080ti-2.12.64.160 12 65536 160 2 $0.69 Launch
rtx3090-1.16.24.160 16 24576 160 1 $0.88 Launch
rtx3080-2.16.32.160 16 32762 160 2 $0.97 Launch
rtx4090-1.16.32.160 16 32768 160 1 $1.15 Launch
teslav100-1.12.64.160 12 65536 160 1 $1.20 Launch
rtx5090-1.16.64.160 16 65536 160 1 $1.59 Launch
teslaa100-1.16.64.160 16 65536 160 1 $2.58 Launch
teslah100-1.16.64.160 16 65536 160 1 $5.11 Launch
Prices:
Name vCPU RAM, MB Disk, GB GPU Price, hour
teslaa2-2.16.64.160 16 65536 160 2 $0.64 Launch
teslat4-2.16.64.120 16 65536 120 2 $0.86 Launch
teslaa10-2.16.64.160 16 65536 160 2 $0.93 Launch
rtx2080ti-3.16.64.160 16 65536 160 3 $0.95 Launch
teslav100-1.12.64.160 12 65536 160 1 $1.20 Launch
rtx5090-1.16.64.160 16 65536 160 1 $1.59 Launch
rtx3090-2.16.64.160 16 65536 160 2 $1.67 Launch
rtx3080-4.16.64.160 16 65536 160 4 $1.82 Launch
rtx4090-2.16.64.160 16 65536 160 2 $2.19 Launch
teslaa100-1.16.64.160 16 65536 160 1 $2.58 Launch
teslah100-1.16.64.160 16 65536 160 1 $5.11 Launch

Related models

Need help?

Contact our dedicated neural networks support team at nn@immers.cloud or send your request to the sales department at sale@immers.cloud.