BildBlack Forest LabsNy

FLUX.1 Dev

Högkvalitativ bildgenerering med fin kontroll

model: "flux-dev"

Lägen

Ett modell-ID, alla lägen nedan. De fält du skickar väljer läget, och priset följer läget.

LägeValt avTypiskt pris
Text till bildprompt
Exempelbegäran
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.025
Bildredigeringimage_url
Exempelbegäran
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.030
Strukturkontrollmodecontrol_lora_image_url
Exempelbegäran
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

Inmatning

Obligatoriskt

Prompt

Valfritt

Image Size

Valfritt
1

Number of Images

Valfritt

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

Valfritt

Control image (https URL), with mode "structure".

Valfritt
3.5

Guidance Scale

Valfritt
28

Steps

Valfritt

Seed

Valfritt

Selects a mode that the other fields cannot: "structure" follows the edges or depth of a control image.

Valfritt

Follow the control image's edges (canny) or its depth.

Avancerade alternativ (2)

Leverantörinställningar bortom huvudkontrollerna. Lämna dem tomma för att använda modellens standardvärden.

Valfritt

Faster inference at a small cost in detail.

Valfritt

File format of the result.

Resultat

FLUX.1 DevExempelutmatning

Ett verkligt resultat från denna modell. Kör den för att se ditt resultat här.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-dev",
  "input": {
    "prompt": "Professional portrait of a woman, soft natural lighting, shallow depth of field, photorealistic"
  }
}'
FLUX.1 Dev 1FLUX.1 Dev 2FLUX.1 Dev 3FLUX.1 Dev 4FLUX.1 Dev 5FLUX.1 Dev 6