Rewrite a short request in more detail
Turns a short request into a clearer, more detailed one, written the way the chosen model reads best, in the language of the request. Nothing is generated. Charges improve_credits from GET /generations/models; a rewrite that fails gives them back. Show the result to the user before generating with it.
Authorization
apiKey In: header
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/generations/improve" \ -H "Content-Type: application/json" \ -d '{ "model": "string", "mode": "text", "prompt": "string" }'{ "prompt": "string", "credits_charged": 0}Open a generated or persona video to edit or post POST
A generated video, persona videos included (pass the persona video's `id`), has no edit until it is opened: this makes it on the first call and returns the same one after, including one opened in the editor. Pass `edit_id` to `POST /posts` to publish or schedule the video, or to `POST /renders`. Only for a `ready` video.
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.