Image Generations

Omnicron utilizes Replicate to handle its image generation capabilities. They are only five super models selected to handle this; bytedance/sdxl-lightning-4step, lucataco/realvisxl-v2.0, playgroundai/playground-v2.5-1024px-aesthetic, lucataco/dreamshaper-xl-turbo, lorenzomarines/astra.

Some models support image to image processing, while some do not.

How to use

Navigate to the endpoint api/v1/replicate/imagegeneration.

curl
curl -X POST http://localhost:9000/api/v1/replicate/imagegeneration?model=bytedance/sdxl-lightning-4step \
  -H "Authorization: Bearer MY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
     "prompt": "A futuristic cityscape at sunset, with towering skyscrapers and flying cars"
  }'
For details about the parameters, visit the image generation reference page.