Skip to content
Stable Diffusion API

Stable Diffusion

Anything V4

Use Stable Diffusion model "Anything V4" via the Stable Diffusion API — REST endpoint, model_id "anything-v4", free tier, cURL/Python/Node samples. No download required.

Anything V4 sample image

Generate with Anything V4 via API

Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key. Get yours at modelslab.com.

curl -X POST 'https://stablediffusionapi.com/api/v4/dreambooth' \
  -H 'Content-Type: application/json' \
  -d '{
  "key": "YOUR_API_KEY",
  "model_id": "anything-v4",
  "prompt": "a photo of anything v4",
  "negative_prompt": null,
  "width": "512",
  "height": "512",
  "samples": "1",
  "num_inference_steps": "30",
  "guidance_scale": 7.5,
  "safety_checker": "no",
  "enhance_prompt": "yes",
  "seed": null,
  "webhook": null,
  "track_id": null
}'

Also searched as

Anything V4 is also known as: Anything V4, anything-v4, anything v4, anythingv4, anything.v4, Anything 4. Use it for stable diffusion image generation, available for download via the Stable Diffusion API REST API at https://stablediffusionapi.com/api/v4/dreambooth.

FAQ — Anything V4

How do I use Anything V4 via API?
Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key, prompt, and model_id "anything-v4". Get an API key from modelslab.com.
Is Anything V4 free to use?
Yes — Stable Diffusion API offers a free tier with 20 generations. Paid plans starting at $8/month give you unlimited access to Anything V4 and 1,000+ other models.
What parameters does Anything V4 support?
Anything V4 accepts standard Stable Diffusion parameters: prompt, negative_prompt, width, height, samples, num_inference_steps (default 30), guidance_scale (default 7.5), seed, and safety_checker.
Can I use generated images commercially?
Yes. You retain copyright on all images you generate via the API and can use them commercially.