Runs
Refine a run until on-brand, within budget
Bounded generate → score → refine loop. Repeats score → refine (re-rolling with the specific deviations fed back in) on a completed run and stops the instant brandFit >= minScore, iterations >= maxIterations, or the credit budget would be exceeded — whichever first. Returns the best result and exactly how many iterations and credits it took. The credit cap is never exceeded.
post/runs/{runId}/refine-to-brand
Request
- Base URL: https://app.uselamina.ai/v1
- URL: https://app.uselamina.ai/v1/runs/{runId}/refine-to-brand
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Path parameters
runIdstring uuid required
Request body
Response
Refine loop result
Changes
No recorded changes to this operation across all 1 revision of this API.