AI Query

AI Query lets you transform images using natural-language prompts.

AI Query

AI Query lets you transform images using natural-language prompts.

When you include the ai query parameter, Weekerp interprets your request and applies the appropriate transformations.

 

ai

 

Description

ai converts your natural-language prompt into executable transformation commands behind the scenes.

 

Format

?ai={prompt}

 

Examples

dog.jpg?ai=reduce the size by half

dog.jpg?ai=rotate the image to the right

Request Interpreted as Result (expected)
dog.jpg?ai=reduce the size by half Resize to 300×400 dog.jpg?w=300&h=400
dog.jpg?ai=rotate the image to the right Rotate 90° clockwise dog.jpg?rotate=90

AI can make mistakes.

How AI Query works

 

Request Consistency

AI outputs can vary depending on timing. However, Weekerp guarantees deterministic results for the same AI prompt, so your images won’t change unpredictably. See Request consistency for details.

 

Caching

The same policy as Caching applies. To get a different AI result, version the request so it uses a separate cache key.

  • Example: ?ai=reduce the size by half-v1

 

Pricing

You are charged once, when the AI transformation actually runs. Repeated identical requests are served from cache without running AI again.
For unit costs and the full policy, see the pricing page.

 

Debugging

To see which transformation the AI applied internally, see Debugging.