UnifyAPI
← Back to catalog

stability.generate

mock data$0.070 / call

Generate Image

⚡ ACTION: Generate images from text prompts using Stable Diffusion — supports style presets (anime, cinematic, pixel-art, photographic...), aspect ratios, negative prompts. Returns base64 PNG data URI. Powered by Stability AI

AI & MLprovider: Stability#stability#ai

Input schema

promptrequired

Text prompt describing the image to generate (e.g. "a futuristic city at sunset, cyberpunk style, detailed")

string
aspect_ratio

Image aspect ratio (default "1:1")

string
style_preset

Style preset to guide generation

string
negative_prompt

What to exclude from the image (e.g. "blurry, low quality, text, watermark")

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/stability.generate \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"prompt":"<prompt>","aspect_ratio":"<aspect_ratio>","style_preset":"<style_preset>","negative_prompt":"<negative_prompt>"}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.