Skip to main content
POST
Estimate prompt enhancement price
Calculate the cost of a prompt-booster call before running it. Takes the same fields as the Prompt Booster (prompt, type, model_slug, optional image / negative_prompt) and returns { "price": <number> }.

Authorizations

Authorization
string
header
required

Sanctum personal access token, sent as Authorization: Bearer <token>. The token is opaque — it carries no claims and no embedded expiry, so do not attempt to decode it. Issue and revoke tokens from your account dashboard.

Body

multipart/form-data
prompt
string
Minimum string length: 3
Example:

"A beautiful landscape"

negative_prompt
string | null
Minimum string length: 3
Example:

"blurry, low quality"

type
enum<string>

Inference type, v2 dot notation. Only prompt-driven types are boostable.

Available options:
images.generations,
images.edits,
videos.generations,
videos.animations,
audio.speech,
audio.music
Example:

"images.generations"

model_slug
string
Example:

"Flux1schnell"

image
file | null

Reference image (for price estimation of image-based types).

Response

Price calculation returned successfully

price
number<float>
Example:

0.00012345