Loading…
Loading…
Black Forest Labs' fast image model: a good picture in a few steps. By Black Forest Labs, on GridPup at $0.0023 per image, paid from your GridPup balance per request. No subscription.
| 10 images | $0.023 |
|---|---|
| 1,000 images | $2.30 |
GridPup's API speaks OpenAI's format: use any OpenAI SDK with the base URL https://api.gridpup.com/v1/ai and a GridPup API key with Also use AI models. The answer tells you what it cost. More in the API docs.
from openai import OpenAI
client = OpenAI(base_url="https://api.gridpup.com/v1/ai", api_key="gp_live_…")
r = client.images.generate(
model="@cf/black-forest-labs/flux-1-schnell",
prompt="A red fox in fresh snow, photo",
)
print(r.data[0].url)base_url to https://api.gridpup.com/v1/ai and the model to @cf/black-forest-labs/flux-1-schnell.