Guide

Welcome to Omniinfer Sable Diffusion API for AI Image Generation!

Omniinfer Stable Diffusion API provides developers with powerful AI image generation capabilities that meet various needs such as life image design, digital media editing, and artistic inspiration.

Features

Support Native Interface For Stablediffusion API

Of course, we also provide a wealth of extended features

Try demo

The fastest way to create your imgages is to use our website demoopen in new window. You can visit our website for a better experience

Demo imageIt only takes three steps to generate an image!

  • Step 1: Choose the desired model from the Models section.
  • Step 2: Click the "Generate" button in the bottom-left corner to generate the image.

Get your API key

When you log in, we will create a key for you by default. Click Hereopen in new window. Dashboard image You can create your own key with the Add new key button

WARNING

  1. Do not disclose your key
  2. Pay attention to the expiration time of your key
  3. Create up to 10 keys each

Generating images with key

You can use the api like this:

curl --location --request POST 'https://api.omniinfer.io/v2/txt2img' \
--header 'X-Omni-Key: YOUR-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "prompt": "a cat"
}'

 




We will return you a task_id, which you can use to get the progress of the graph through prgress.

curl --location --request GET 'http://api.omniinfer.io/v2/progress?task_id=YOUR-TASK' \
--header 'X-Omni-Key: YOUR-KEY'

Eventually you will get a picture of a cat.

Cat

If you want to get more detailed instructions, please go to API to see.