Image Generation

image/generation/stabilityai by Stability AI
Image Generation+ more tasksProvider defaultAsyncSyncPDF inputImage inputAudio inputVideo inputText inputURL inputEU hosting
Price from
$0.015 / image
Tasks
1
Image Generation
Regions
United States
Mode
sync
Input
Image, Text
Output
items

About Stability AI Image Generation

Image Generation is an advanced feature that generates compelling images based on a given text prompt. It can easily produce high-quality and original images in a matter of seconds, without the need for specialized design skills or software

Stability AI Image Generation is Stability AI's default model for Image Generation available on Eden AI for Image Generation, from $0.015 / image. Call it with the same API key as every other Eden AI model by sending its model string to the Universal AI endpoint, with processing in the United States.

Learn more about Image Generation APIs on Eden AI

Tasks and prices

Stability AI Image Generation is available on Eden AI for 1 tasks. Each task has its own model string and price: send that string to the Universal AI endpoint to use the model for that task.

Task
Price
Regions
Mode
Docs
Playground
Image Generationimage/generation/stabilityai
$15 / 1K images
sync

Parameters

What you send and what you get back when you call Stability AI Image Generation through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.

Input

  • text (required): text. Text prompt for image generation
  • resolution: text. Image resolution as a named size (e.g. '1024x1024'). Optional: providers may also accept native sizing knobs (width/height, aspect_ratio, image_size tier, etc.)
  • num_images: number. Number of images to generate
  • reference_images: file (images). Optional reference images. Plain file IDs/URLs are treated as ReferenceImage with kind=None. Support and per-model limits vary by model; models that do not acce
  • mask: file (images). Optional inpainting mask. Must be paired with at least one reference image (otherwise the request returns 422). Support varies by model; models that do not acce

Response

  • items

Estimate your monthly cost

Enter your monthly volume for Image Generation to compare Stability AI Image Generation with its cheapest alternatives.

Call Stability AI Image Generation with Eden AI

Send the model string to the Universal AI endpoint. To use another model, copy its string from the table above.

import requests

response = requests.post(
    "https://api.edenai.run/v3/universal-ai",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "",
        "input": {},
    },
)
print(response.json())

Questions about Stability AI Image Generation

On Eden AI, Stability AI Image Generation costs $0.015 / image for Image Generation. The Tasks and prices table lists the price for each task, and you only pay for what you use.

On Eden AI, Stability AI Image Generation is available for: Image Generation. Input: Image, Text. Output: items.

Yes. Stability AI Image Generation is processed in Europe for at least one task: see the Regions column in the Tasks and prices table.

Asynchronous: you start a job, then get the result by polling it or through a webhook. This suits long files such as audio, video or multipage documents.

Eden AI offers Image Generation from 8 providers, all callable with the same API key. The cheapest models are compared just below.

Alternatives for Image Generation

Other Image Generation models you can call with the same key, cheapest first.

See all Generative AI models

More from Stability AI

Other Stability AI models on Eden AI, for every task.

No items found.