←News detail

Alibaba Cloud Developer Community AIUpdated Nov 2 12:13

Hands-On Integration with the AI Portrait Fashion Editorial Generation API: APPCODE Authentication, Request Construction, and Asynchronous Polling Explained

AI summary

The AI portrait fashion editorial generation service on the Alibaba Cloud Marketplace API Gateway is integrated as an asynchronous task: authenticate with APPCODE, submit img_url, theme, and aspect_ratio to immediately receive a task identifier, then poll for the result. A single submission can produce multiple sets of styled editorial shots based on the same portrait, each accompanied by an English prompt, with aspect ratios supporting 1:1 / 3:4 / 4:3 / 16:9 / 9:16. When theme is left blank, the model automatically plans a theme based on the subject's temperament.

Body

Only a summary is authorized here. Continue at the validated source link.

Source

Alibaba Cloud Developer Community AI