Skip to main content
The resources (image, video, voice) generated by our API are valid for 7 days. Please save the relevant resources as soon as possible to prevent expiration.

Endpoint

Request Headers

Body Attributes

Response Attributes

Example

Request Body

Request

Response

Button Operations

Important Notes

  • The _id must be from a previously generated image via the Create By Source Prompt API
  • Check available buttons from the buttons field in the Get Image Result API response before performing an operation
  • Once a button is used, it will move from buttons to used_buttons and cannot be used again
  • Resource Expiration: Generated images are valid for 7 days, save them promptly
  • Webhook: Use webhookUrl to receive notifications when image generation is complete
  • Save the new _id from the response to check image status using the Get Image Result API