Ask for the credits of a generation back
Asks the team to review the result and give its credits back. One request per generation, only once it is ready, and not after it was downloaded or posted. Follow it in refund_status of GET /generations/{id}: requested, then approved or denied. A generation that failed already gave its credits back on its own.
Authorization
apiKey In: header
Path Parameters
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/generations/string/refund" \ -H "Content-Type: application/json" \ -d '{ "reason": "prompt_ignored", "note": "string" }'{ "refund_status": "requested"}Rate a generation POST
`up`, `down` with a `reason`, or `null` to clear the rating. A `down` also cancels the posts of the result that are still scheduled, never one already being published. Free.
Get the download link of a generation GET
Signed link that saves the full-quality file, valid for 6 hours. Only for a `ready` generation. Once downloaded, its credits can no longer be asked back.