List the image and video generators and the credits left
GET
http://localhost:4000/api/v1 /media/generate/options images and videos are empty when the server has no generator configured; credits are per calendar month (UTC).
Code samples
cURL
curl -X GET "http://localhost:4000/api/v1/media/generate/options" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated