Skip to main content
Key points for AI agents
  • Base URL: https://1788.love. Header: Authorization: Bearer YOUR_1788_API_KEY.
  • Chat: POST /v1/chat/completions (synchronous).
  • Image: POST /v1/images/generations (synchronous) or POST /v1/images/generations/async (recommended async).
  • Video: POST /v1/videos returns task id -> poll GET /v1/videos/{id} -> download via GET /v1/videos/{id}/content.
  • Match models to endpoints: video models (seedance, grok, MiniMax-H3, muse-video, wan, kling, etc.) only work on /v1/videos, never /v1/chat/completions; chat models never work on /v1/videos.
Strict Content Compliance Policy: Generating pornography, explicit nudity, vulgar material, or politically sensitive / illegal content is strictly prohibited across all models and endpoints. Routes labeled NSFW (Relaxed Moderation) are intended solely for normal commercial scenarios such as swimwear and lingerie showcases. Violations detected by automated or manual review result in immediate permanent suspension of your account and API keys with no refund.

Step 1: Create an API key

Sign in to the 1788 Console and create an API key on the Tokens page. Keep your key on your server or in environment variables only.

Step 2: Pick a starter model

See the Price List for all available models and live rates.

Step 3: Send a request

Step 4: Retrieve the result

  • Chat: Read the response directly from choices[0].message.content.
  • Image: Download the image URL from data[0].url promptly.
  • Video: The response returns a task id. Poll GET /v1/videos/{id} every 5 seconds until status is completed, then download:
See Async tasks for full polling and error handling details.
A successful response from POST /v1/videos only means the task was queued, not finished. Failed, canceled, or timed-out tasks are refunded automatically.