Regenerate Asset with AI

Replaces an existing image asset's bytes with a new AI-generated image. The asset's id and path stay intact; keywords default to AI-extracted tags from the new prompt unless the caller provides their own.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The ID of the image asset to regenerate

Body Params

Body Params (mirrors POST /assets/generate)

string
required
string
enum
Allowed:
string
enum
Allowed:
string
tag_ids
array of integers
tag_ids
integer

Optional AuthorInfo id whose agent_instructions are woven into the prompt as a persona

string

Optional surrounding content this image will accompany. Folded in as background and included in SEO keyword extraction. Max 32000 chars.

Responses
200

The regenerated asset

400

Invalid params or the AI service rejected the prompt

401

AI integration is not configured

404

Asset not found

422

Validation failed or asset is not an image

429

AI rate limit hit

500

AI generation failed or asset persistence failed

Language
Credentials
Bearer
JWT
URL
LoadingLoading…