prompt of any image generation endpoint.
$0.01
per request
Prompt → enhanced prompt
up to 2,000 characters
POST /v1/prompts/enhance
endpoint
Try it
Get an API token on your profile page (it needs a positive API units balance) and set it once per terminal session:Response
- The result is a single
enhanced_promptstring. It is not an image, so there is nodataarray. - The enhanced prompt is more detailed than the original. Models have different prompt length limits, see Prompt length.
Parameters
Examples
Enhance a prompt, then generate an image
Enhance a prompt, then generate an image
Enhance a short prompt, then pass the result as
prompt to /v1/images/generations with recraftv4_1. The two requests cost $0.01 and the price of the generated image. See Pricing.Related
Recraft V4.1
The default model for image generation.
Pricing
Prices of every model and tool.