LarawanBlack Forest LabsBago

FLUX.1 Schnell

Ultra-mabilis na image generation sa ilalim ng isang segundo

model: "flux-schnell"

Mga paraan

Isang model id, bawat mode sa ibaba. Ang mga field na ipinapadala mo ay pumipili ng mode, at ang presyo ay sumusunod sa mode.

ParaanPinipili ngTipikal na presyo
Teksto tungo sa larawanprompt
Halimbawang kahilingan
{
  "model": "flux-schnell",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.0030
Kontrola ng istrakturamodecontrol_lora_image_url
Halimbawang kahilingan
{
  "model": "flux-schnell",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

Input

Kinakailangan

Prompt

Opsyonal

Image Size

Opsyonal
1

Number of Images

Opsyonal

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

Opsyonal
4

Steps

Opsyonal

Seed

Opsyonal

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

Opsyonal

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

Mga advanced na opsyon (3)

Mga setting ng provider na higit pa sa pangunahing kontrol. Iwanan silang walang laman upang gamitin ang mga default ng modelo.

Opsyonal

Faster inference at a small cost in detail.

Opsyonal
-

How strictly the model follows the prompt. Higher is more literal.

Opsyonal

File format of the result.

Resulta

FLUX.1 SchnellHalimbawang output

Tunay na resulta mula sa modelong ito. Patakbuhin mo ito upang makita ang sa iyo dito.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-schnell",
  "input": {
    "prompt": "a cute cat being affectionate with a young girl, cat nuzzling the girl, warm and heartwarming scene, soft natural lighting"
  }
}'
FLUX.1 Schnell 1FLUX.1 Schnell 2FLUX.1 Schnell 3FLUX.1 Schnell 4FLUX.1 Schnell 5FLUX.1 Schnell 6