GizStackGizStackGizStack
Sign inStart free

← All models

PIFlux 2 Klein

Picsart · Image · priced by the request · 1 route

Text to Image through the Picsart GenAI API.

Model ID flux-2-klein-text2image

Quick try

Quickstart · API, SDK & MCP

sh
curl https://gizstack.com/v1/generations \
  -H "Authorization: Bearer $GIZSTACK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "flux-2-klein-text2image", "prompt": "A cinematic shot of a sunlit studio", "wait": 30}'
python
from openai import OpenAI

client = OpenAI(base_url="https://gizstack.com/v1", api_key="$GIZSTACK_API_KEY")
res = client.images.generate(model="flux-2-klein-text2image", prompt="A sunlit studio")
print(res.data[0].url)
sh
claude mcp add --transport http gizstack https://gizstack.com/v1/mcp \
  --header "Authorization: Bearer $GIZSTACK_API_KEY"

Request fields

FieldValuesDefault
promptlong
width64 to 10241024
height64 to 10241024
numberResults1 to 101
aspectRatiotext
resolutiontext