← Back to catalog
stability.generate
mock data$0.070 / callGenerate 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
Input schema
promptrequired
stringText prompt describing the image to generate (e.g. "a futuristic city at sunset, cyberpunk style, detailed")
aspect_ratio
stringImage aspect ratio (default "1:1")
style_preset
stringStyle preset to guide generation
negative_prompt
stringWhat to exclude from the image (e.g. "blurry, low quality, text, watermark")
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>"}'