Text
Rewrite a rough prompt for an image or video model
Turns a rough prompt or keywords into a detailed prompt for the named tool. Up to four reference images (inline, {data, mimeType}) are used as visual context; an unusable image is dropped, not refused. Answers synchronously.
Billed by tokens: a hold of 0.01 credits is taken before the model call and the actual token cost is charged against it.
post/v1/text/enhance-prompt
Request
- Base URL: https://contentmaschine.ai/api
- URL: https://contentmaschine.ai/api/v1/text/enhance-prompt
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://contentmaschine.ai/api/oauth/authorize, token URL https://contentmaschine.ai/api/oauth/token)
Request body
Response
The rewritten prompt.
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.