Skip to main content
POST
Revise an asset-pack preview

Authorizations

Authorization
string
header
required

Mint API key sent as a Bearer token.

Headers

Idempotency-Key
string

Optional stable key for safely retrying an uncertain mutating request. Mint creates an internal key when this header is omitted. Reusing a supplied key with different parameters returns 409.

Required string length: 1 - 255

Path Parameters

assetPackId
string
required

Body

application/json

Instructions for revising all or selected Asset Pack Previews.

feedback
string
required

Describe the changes Mint should make to the selected Previews.

Required string length: 1 - 8000
generationMode
enum<string>
default:auto

auto continues after revised Previews; review pauses again for another decision. See Preview-based generation.

Available options:
auto,
review
scope
enum<string>
default:all_items

Whether the revision applies to every item or selected item IDs.

Available options:
all_items,
items
itemIds
string[]

Required when scope is items; ignored for all_items.

Required array length: 1 - 25 elements
name
string

Optional replacement title for the Asset Pack.

Required string length: 1 - 120
revisionEditStrength
enum<string>

How broadly Mint may change the selected Previews.

Available options:
surgical,
style,
structural
riggingPose
enum<string>

Prepare revised humanoid character items in the selected neutral pose for later rigging.

Available options:
t_pose,
a_pose

Response

An earlier request with the same retry key returned this operation.

A long-running operation acting on one Mint asset_pack.

object
string
required

Stable object discriminator.

Allowed value: "operation"
id
string
required

Mint operation ID used for polling.

type
enum<string>
required

The work this operation performs.

Available options:
generation_transition
generationMode
enum<string>
required

Workflow mode for this operation.

Available options:
auto,
review
status
enum<string>
required

Current operation lifecycle status.

Available options:
queued,
running,
preview_ready,
billing_required,
succeeded,
partially_succeeded,
failed,
canceled
resource
object
required

The Mint asset_pack affected by this operation.

createdAt
string<date-time>
required

When the operation was created.

updatedAt
string<date-time>
required

When the operation last changed.

prompt
string

Developer-supplied generation brief or revision feedback.

billing
object

The billing action required before this operation can continue.

credits
object

Credit estimate, active reservation, finalized charge, and post-reservation balance for this operation.

error
object

Terminal failure details when the operation failed.

completedAt
string<date-time>

When the operation completed.

canceledAt
string<date-time>

When the operation was canceled.