POST
/
images
/
variations
curl https://gateway.obiguard.ai/v1/images/variations \
  -H "x-obiguard-api-key: $OBIGUARD_API_KEY" \
  -F image="@otter.png" \
  -F n=2 \
  -F size="1024x1024"
{
  "created": 123,
  "data": [
    {
      "b64_json": "<string>",
      "url": "<string>",
      "revised_prompt": "<string>"
    }
  ]
}

Authorizations

x-obiguard-api-key
string
header
required

Body

multipart/form-data

Response

200 - application/json

OK

The response is of type object.