Skip to contentOceanToken

Guides

Integration tutorials, parameters, quick starts, tool integrations and prompt templates.

Latest

· 7 min read

A Unified API for Chat, Image and Video

Building on a unified API for chat, image and video: sync vs async calls, billing units, retries, timeouts and storage, with three calls and a launch checklist.

Guides
  • AI video
  • LLM API
  • Tutorial
Read

More articles

· 7 min read

Kimi K3 API International Access Guide

Use the Kimi K3 API internationally: sign up with email, pay by card, create one key and call moonshotai/kimi-k3 with an OpenAI SDK. Steps, code and checks.

Guides
  • Kimi
  • LLM API
  • Tutorial
Read

· 6 min read

Call Tencent Hy3 With the OpenAI SDK

Call Tencent Hy3 with the OpenAI SDK outside China: base URL, model id, streaming, tool calls, reasoning_effort values, Hy3 vs Hy3 preview, and token billing.

Guides
  • Hunyuan
  • LLM API
  • Tutorial
Read

· 7 min read

Call the Hailuo 3 Max API With an API Key

How to call the Hailuo 3 Max API with an API key: the request, polling and download, the Max-only limits, what sets the cost of one video, and Max vs Hailuo 3.

Guides
  • Hailuo
  • Tutorial
Read

· 6 min read

How to Call the GTE-Large Embedding API

Call the GTE-Large embedding API with the OpenAI SDK: batch inputs, the 512-token limit, 1024-dim vectors, cosine search, per-token billing, and when to switch.

Guides
  • GTE
  • Embeddings
  • Tutorial
Read

· 9 min read

Kling Lip Sync: Native Audio vs Post-Sync

Kling lip sync has two routes: native audio that speaks with the picture, or a post-sync pass on existing video. How to choose, write dialogue and check mouths.

Guides
  • Kling
  • AI video
Read

· 6 min read

Seedance Batch Generation in Python

Seedance batch generation in Python: a CSV manifest, a small worker pool, idempotent submits, retries by error code, a per-key spend cap and an ffmpeg stitch.

Guides
  • Seedance
  • Tutorial
Read

· 6 min read

Google AI Studio to Gemini 3.8 Flash API

Move a Google AI Studio prompt to the Gemini 3.8 Flash API: which settings map to which parameters, thinking and output limits, 429 retries, launch checklist.

Guides
  • Gemini
  • LLM API
  • Tutorial
Read

· 7 min read

GPT Image Edit Mask: Keep Everything Else

GPT image edit mask rules from OpenAI's docs, a keep-everything-else preserve list, and a composite step that keeps untouched pixels identical after the edit.

Guides
  • GPT
  • AI image
  • Tutorial
Read

· 9 min read

Hailuo Video Generation in n8n and Make

No-code Hailuo video generation in n8n or Make: a shot-list sheet, create and poll steps, per-model checks for H3 and Hailuo 2.3, and which platform fits whom.

Guides
  • Hailuo
  • AI video
Read

· 8 min read

Kling API Python Batch Pipeline + ffmpeg

A Kling API Python batch pipeline: CSV in, capped concurrency, retries keyed to error codes, a crash-safe manifest, immediate downloads and an ffmpeg stitch.

Guides
  • Kling
  • Tutorial
Read

· 6 min read

Kling in ComfyUI: Nodes and Workflow

How to run Kling in ComfyUI: the Kling 3.0 Video partner node and its inputs, a start-frame workflow, multi-shot storyboards, and when to use a script.

Guides
  • Kling
  • Tutorial
Read

· 7 min read

Limit LLM API Spend With a Prepaid Balance

Limit LLM API spend with a prepaid balance plus four more guardrails: per-key credit limits, caps in code, cost checks before video jobs, and a daily review.

Guides
  • DeepSeek
  • Seedance
  • LLM API
Read

· 8 min read

OpenAI Compatible API Differences: 9 Traps

OpenAI compatible API differences between models: token caps, thinking switches, reasoning history, dropped parameters and tool calls, checked against docs.

Guides
  • DeepSeek
  • Qwen
  • GLM
  • LLM API
Read

· 7 min read

Qwen Image in ComfyUI: Files, Nodes, VRAM

Run Qwen Image in ComfyUI: exact model files and folders, the nodes in the official workflow, VRAM and speed from the ComfyUI tutorial, Edit versions, fixes.

Guides
  • Qwen
  • AI image
  • Tutorial
Read

· 6 min read

Seedance 9:16 Vertical Video: Safe Zones

How to frame Seedance 9:16 vertical video: set the ratio, keep faces and captions out of app UI zones, and avoid the first-frame trap that forces landscape.

Guides
  • Seedance
  • AI video
Read

· 6 min read

Seedance Lip Sync Prompts for Dialogue

How to write a Seedance lip sync prompt: labeled dialogue lines, language marking, one speaker per shot, voice references, and fixes when mouths drift.

Guides
  • Seedance
  • AI video
Read

· 5 min read

Seedance On-Screen Text and Subtitles

Can Seedance render readable on-screen text and subtitles? What ByteDance says, a six-field text spec, how to stop stray captions, and when to add text in post.

Guides
  • Seedance
  • AI video
Read

· 9 min read

Wan Video API + Make + CapCut Workflow

A Wan video API, Make and CapCut workflow for 15-second ads: a five-shot list, two Make scenarios that survive failed jobs, the Wan 3.0 fields, and edit steps.

Guides
  • Wan
  • AI video
Read

· 6 min read

What Is MiniMax M3? Specs, Release, vs M2

What is MiniMax M3? MiniMax's open-weight multimodal model: June 2026 release, 1M context, thinking modes, what changed from M2, and the limits to plan around.

Guides
  • MiniMax
  • LLM API
Read

· 7 min read

Gemini OpenAI Compatible API Migration

Use the Gemini OpenAI compatible API from the OpenAI SDK: change base URL and model id, then retest thinking, max_tokens, dropped parameters and tools.

Guides
  • Gemini
  • Tutorial
Read

· 6 min read

Hailuo H3 Audio and Dialogue Prompts

Hailuo H3 audio and dialogue: what MiniMax documents about native stereo sound, reference audio limits, writing spoken lines, and checks before you ship.

Guides
  • Hailuo
  • AI video
Read

· 7 min read

Kling Action Scene Prompt Guide

Write Kling action scene prompts as short beats: the 3-15 s and six-shot limits, physics words, camera by action type, contact and multi-person fixes.

Guides
  • Kling
  • AI video
Read

· 7 min read

Kling Camera Control: Prompt Words

Kling camera control is in the prompt: push-in, pan, tilt, track, orbit, crane, dolly zoom. One move per shot, speed, end point, and what the API lacks.

Guides
  • Kling
  • AI video
Read

· 6 min read

Kling Character Consistency Across Shots

Kling character consistency across shots: reusable references, image-to-video from fixed stills, a locked identity line, and motion control, with trade-offs.

Guides
  • Kling
  • AI video
Read

· 9 min read

Kling Elements: Using Reference Images

How Kling Elements work: building one from a frontal image plus 1 to 3 references, the Omni reference limits, @ prompt names, and sending images on OceanToken.

Guides
  • Kling
  • AI video
Read

· 8 min read

Kling Image to Video: Best Practices

Kling image to video done right: pick a sharp first frame at the output ratio, prompt only the motion, keep start and end frames close, and know the API limits.

Guides
  • Kling
  • AI video
Read

· 7 min read

Kling Motion Brush Guide and API Status

Kling Motion Brush paints which part of an image moves and along what path. How to use it, why we found no API field for it, and what to use in code instead.

Guides
  • Kling
  • AI video
Read

· 6 min read

LangChain OpenAI base_url for GPT Models

Set the LangChain OpenAI base_url and a LlamaIndex custom endpoint for GPT: env-var order, stream usage, structured output, OpenAILike and its defaults.

Guides
  • GPT
  • LLM API
  • Tutorial
Read

· 6 min read

Qwen in Dify, LobeChat and Cherry Studio

Connect Qwen to Dify, LobeChat and Cherry Studio with an OpenAI-compatible base URL: where each tool wants the URL, the /v1 trap, model ids, and fixes.

Guides
  • Qwen
  • LLM API
  • Tutorial
Read

· 7 min read

Qwen JSON Output with response_format

Get valid Qwen JSON output: json_object vs json_schema, which Qwen models enforce a schema, keywords that return 400, max_tokens and thinking pitfalls, retries.

Guides
  • Qwen
  • Tutorial
Read

· 6 min read

Qwen3 Coder Next: Coding Agent Setup

Set up Qwen3 Coder Next behind a coding agent: base URL, model id, sampling, context limits, a capped tool loop, and what an 80B-A3B non-thinking coder suits.

Guides
  • Qwen
  • LLM API
  • Tutorial
Read

· 6 min read

Seedance Music Video Prompt Guide

How to write a Seedance music video prompt: split the song into sections, give the audio reference a job, mix performance and b-roll, and sync in the edit.

Guides
  • Seedance
  • AI video
Read

· 6 min read

Seedance Product Demo Prompt Templates

A Seedance product demo prompt that keeps the product right: lock the design to one reference image, one camera move per shot, and keep labels short and clean.

Guides
  • Seedance
  • AI video
Read

· 6 min read

Seedance Prompt Templates by Genre

Six Seedance prompt templates by genre (horror, romance, action, documentary, sci-fi, comedy): one copyable structure per genre with camera, light and sound.

Guides
  • Seedance
  • AI video
Read

· 6 min read

Seedance UGC Ad Prompts: 4 Templates

Four Seedance UGC ad prompts to copy (review, unboxing, 3am moment, hands-only), how to write the hook, and why real-person reference photos get refused.

Guides
  • Seedance
  • AI video
Read

RSS feed

Every new article, in your feed reader.

oceantoken.ai/blog/rss.xml

Get started

Pay below the official price.
Keep the same code.