Submit Ai Job

post/api/website/v2/generate

Request

  • Base URL: https://api.landing-page.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.landing-page.io/api/website/v2/generate
  • Auth: HTTP bearer

Request body

user_idstring required

User ID

session_idstring required

Unique session ID

contentstring required

User instruction

reference_image_urlstring nullable

Reference image URL for generate flow

reference_image_base64string nullable

Reference image in base64 (data URI or raw base64) for generate flow

reference_image_content_typestring nullable

Content type for reference_image_base64

reference_image_direct_modeboolean

If true and reference image is provided, bypass planner/section flow and directly generate full page HTML once

existing_html_or_urlstring nullable

Existing HTML string or URL for modify

minifyboolean

Whether to minify HTML

page_topicstring

Page topic

cdn_basestring

OSS CDN base URL

oss_prefixstring

OSS key prefix

replicate_modelstring

Replicate model

manual_modeboolean

If true, skip AI modify and publish manual_html directly

manual_htmlstring nullable

User-edited full HTML content

regenerate_ai_imagesboolean

Whether to run AI regeneration for data-ai images

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.