import requests r = requests.post( "https://api.aimlapi.com/v1/images/generations", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "stable-diffusion-v35-large", "prompt": "A cat holding a sign that says hello" }, ) print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/images/generations", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "stable-diffusion-v35-large", "prompt": "A cat holding a sign that says hello" }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/images/generations \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"stable-diffusion-v35-large","prompt":"A cat holding a sign that says hello"}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Output | |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Stable Diffusion v3.5 Large This page | Image generation at scale | |||
| Image generation at scale | ||||
| Image generation at scale | ||||
| Image generation at scale | ||||
| Image generation at scale |
Stable Diffusion v3.5 Large takes image, text as input and returns image.
Stable Diffusion v3.5 Large is priced at $0.0845 / MP (variable).
Stable Diffusion v3.5 Large is billed per generation — a fixed charge per output rather than by prompt length.
Yes, Stable Diffusion v3.5 Large accepts image input as well as a text prompt.
Stable Diffusion v3.5 Large was built by Stability AI.
Send a request to https://api.aimlapi.com/v1/images/generations with stable-diffusion-v35-large as the model id.
Yes. Stable Diffusion v3.5 Large is served through AI/ML API, so the same key and endpoint format used for other models applies.