Hunyuan Image Alpha Edit API — price per image and code examples
Price per image
- One price for every size.
- A failed or rejected request is not charged.
- Results are kept for 24 hours, then deleted automatically.
Watermark
Images from this model carry a small text watermark that the model adds. Cent AI does not add it and does not remove it.
About this model
Hunyuan Image Alpha Edit changes one image you upload, guided by a text prompt, through POST /v1/images/edits as multipart/form-data, in the OpenAI Images format. Each image you receive costs $0.15. That is 85% below the official price of $1.00. It is paid from your USD balance; budget packs cover chat models only.
Images API reference →Specification
- Input and output
- Image + text → image
- Endpoint
- /v1/images/edits
- Upload
- PNG, JPEG, WebP or GIF; mask optional
- Response
- b64_json + usage.cost
- Stored results
- 24 hours
- Smallest pack
- Not in a pack
Processing time. A request can take up to 3 minutes. Set your client timeout to at least 630 seconds.
Cent AI adds no content filter of its own. The model's own moderation can refuse a prompt; a refused request is not charged. Acceptable use policy
Code
curl https://api.cent-ai.dev/v1/images/edits \
-H "Authorization: Bearer $CENT_AI_KEY" \
--max-time 630 \
-F model=hunyuan-image-alpha-edit \
-F prompt="Make the sky orange" \
-F image=@photo.pngSet CENT_AI_KEY to a key from the dashboard. OpenAI SDKs use https://api.cent-ai.dev/v1. The request waits for the image, so keep the timeout long.
Questions
How much does Hunyuan Image Alpha Edit cost on Cent AI?
$0.15 per image you receive. Before the model is called, the price times n is held from your balance; images that do not arrive are not charged and the hold is released.
Why does a request take so long?
The model needs time to draw. After 15 seconds Cent AI sends the status line and a space every 15 seconds until the image arrives, so the connection stays open. Keep your client timeout at 630 seconds or more.
Do the images have a watermark?
Yes. The model adds a small text watermark to the images it returns. Cent AI passes the image through unchanged.
Am I charged when a request fails?
No. A request that fails or is refused releases the hold in full. If it fails after the status line was sent, the body carries an error object instead of data.
How do I pay?
Top up a prepaid USD balance with QRIS or USDT/USDC, or buy a budget pack once. Nothing renews automatically.
Try Hunyuan Image Alpha Edit with one key
One prepaid balance for every model. Pay with QRIS or USDT/USDC.