Skip to main content

API Schema

· One min read

We have our API Schema to test all endpoints from your browser.

You can test each of the endpoints by clicking on API Schema

Image Generation

Change the prompt to create images of your choice. If you want to use other models, go the Models Page and copy the model-id and paste it in the right parameter.

If you want the change the base model, change the model_id. Please note the SD-1.5 and SDXL models have different endpoints.

If you want to change/add LoRA models, use the lora_models parameter. Here too, there are different models for SD-1.5 and SDXL. The top right of the models component shows the base model that it belongs to.

Similarly, you can use embeddings, ip-adapters, hi-res, hidiffusion.

ImagePipeline-Post-Request

Fetch the response

The response from the GET API endpoint will contain information about the status of the POST request.

A successful response will have a 200 OK response and you will see url(s) in the response.

ImagePipeline-Post-Request