LogoLogo
IntroInstalling Dashboard
  • 🌐Distribute
    • Introducing DistributeAI
    • FAQ
  • 🪙Distribute For $DIS
    • Public Presale
    • Tokenomics
  • 📱Distribute For Consumers
    • Distribute.ai Discord Bot
      • Adding the bot to a server
      • Adding the bot as a user app
      • Bot Commands
      • Generation Buttons
      • Prompting Guide
    • Distribute.ai Dashboard
      • Statistics
      • Referrals
      • Account Settings
  • 🖥️Distribute For Inference Providers
    • Chrome Extension
      • Installing Extension
        • Enabling Chrome Flags
        • Chrome GPU Setup Guide
      • Updating the Extension
    • Desktop App
      • Installing Desktop App
      • Desktop App Debugging
        • Windows Debugging
        • MacOS Debugging
        • Linux Debugging
      • Desktop System Requirements
  • 🏢Distribute For Enterprise
    • Enterprise Inference API
      • Authentication
      • OpenAI Compatible API
        • Images
          • Generations
        • Chat
          • Completions
      • Async API
        • Chat
          • Chat Create
          • Chat Result
        • Images
          • Images Create
          • Images Result
    • Enterprise Compute Providers
Powered by GitBook
On this page
  1. Distribute For Enterprise
  2. Enterprise Inference API
  3. Async API
  4. Images

Images Create

Start an image creation using existing OpenAI schemas.

PreviousImagesNextImages Result

Last updated 3 months ago

🏢
post
Body
modelstring · enumRequiredPossible values:
promptstring · max: 1000Required
seednumberOptionalDefault: 927719
stylestringOptional
guidance_scaleinteger · min: 1 · max: 10OptionalDefault: 5
num_inference_stepsinteger · min: 1 · max: 50OptionalDefault: 10
nnumber · enumOptionalDefault: 1Possible values:
response_formatstring · enumOptionalDefault: urlPossible values:
sizestringOptionalDefault: 768x768Pattern: ^([1-9]\d{0,2}|1024)x([1-9]\d{0,2}|1024)$
Responses
200
Default Response
application/json
400
Default Response
application/json
404
Default Response
application/json
post
POST /async/images/create HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 160

{
  "model": "Flux.1 [dev]",
  "prompt": "text",
  "seed": 927719,
  "style": "text",
  "guidance_scale": 5,
  "num_inference_steps": 10,
  "n": 1,
  "response_format": "url",
  "size": "768x768"
}
{
  "id": "text"
}