AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Image generationKling Image

Create a long image

Generate an e-commerce product detail page or webpage design as a long image.

POST/kling/long-image-generation/kling-4.0

Submit a task to generate an e-commerce product detail page or a webpage design as a long image.

Authorization

bearerAuth
AuthorizationBearer <token>

Use a platform API key in the format Authorization: Bearer your-api-key.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

After submission, use data.id in Get a task. The final result is one complete long image, not HTML.