Marketplace

Marketplace Images

FLUX.1 Dev

FLUXImage generation

flux-dev

Price
Rate unavailable
Context
Not applicable
Modalities
Text in, image out
License
On the model card
siliconnetwork/FLUX.1-dev-4bit

About

Draws an image from a prompt, on /v1/images/generations.

It is called on /v1/images/generations, never on chat, and billed per image.

  • Image generation

Call it

Send the model id with your API key. Keys are made in the dashboard; the quickstart has the rest.

silicon - zsh
curl https://api.siliconnetwork.io/v1/images/generations \
  -H "Authorization: Bearer $SILICON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"flux-dev","prompt":"A hexagonal S mark carved in basalt, studio light","n":1,"size":"1024x1024"}'
request.py
from siliconnetwork import SiliconNetwork

client = SiliconNetwork()
data, meta = client.request("POST", "/v1/images/generations", json={
    "model": "flux-dev",
    "prompt": "A hexagonal S mark carved in basalt, studio light",
})
print(meta.request_id)
  • Draws an image from a prompt, on /v1/images/generations.

    • Image generation

    Rate unavailable

    Get
  • Draws an image from a prompt, on /v1/images/generations.

    • Image generation

    Rate unavailable

    Get
  • Edits an image from a prompt, on /v1/images/edits.

    • Image editing

    Rate unavailable

    Get
  • Draws an image from a prompt, on /v1/images/generations.

    • Image generation

    Rate unavailable

    Get
  • Edits an image from a prompt, on /v1/images/edits.

    • Image editing

    Rate unavailable

    Get