List the image and video generators and the credits left

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-ai-generation"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/86530291-4d98-4eae-afe3-b85641b92f90/social-card.svg?v=3e7ae33eec8b" alt="List the image and video generators and the credits left" width="600" height="315"></a>
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