4Z API

Template drawing

Endpoint: POST https://4zapi.com/openapi/v2/image/template/generate

Use templates to generate images.

Request body (application/json)

  • template_id (integer, required): Template ID
  • prompt (string): Text prompt