Apply AI Image Draft

Commits a draft candidate. With target_asset_id the draft's bytes replace that asset's file in place (id and path preserved) and the draft is removed; without it the draft itself becomes a regular asset and appears in listings. Optional keywords and tag_ids override the values the draft was generated with.

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

The ID of the draft asset

Body Params
integer

Existing image asset to overwrite with the draft's bytes

string
tag_ids
array of integers
tag_ids
Responses
200

The committed asset

404

No such draft

422

Validation failed or the target is not a committed image asset

Language
Credentials
Bearer
JWT
URL
LoadingLoading…