Dianwu.AI Flow

Let your digital employee deliver results you're satisfied with.

API index

Run frozen workflows with an account key. API base https://flow.dianwu.ai; site dianwu.ai; key prefix dwflow_.

1. Get a key

  1. After sign-in, open API keys and create a key (shown once).
  2. Freeze a flow under Workflows and copy the workflow ID (on the card: /api/v1/workflows/…/run).

Sign in to see your workflow IDs here.

2. Auth

All product APIs use this header:

Authorization: Bearer dwflow_YOUR_KEY

3. List workflows

GET https://flow.dianwu.ai/api/workflows

curl "https://flow.dianwu.ai/api/workflows" \
  -H "Authorization: Bearer dwflow_xxx"

4. Run a workflow remotely

POST https://flow.dianwu.ai/api/v1/workflows/YOUR_WORKFLOW_ID/run

POST JSON columns and rows. Output follows the frozen layout and returns Excel base64 by default.

If the workflow has run params or file inputs, open its run page and see the Remote API examples (same params as the UI).

curl -X POST "https://flow.dianwu.ai/api/v1/workflows/YOUR_WORKFLOW_ID/run" \
  -H "Authorization: Bearer dwflow_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "fileName": "orders.xlsx",
    "sheetName": "Sheet1",
    "columns": ["Customer", "Amount"],
    "rows": [
      {"Customer": "A", "Amount": 1200},
      {"Customer": "B", "Amount": 800}
    ],
    "excel": true
  }'

Success fields:

  • layout — Applied layout
  • preview — Preview row count, groups, and totals
  • excelBase64 — xlsx file (decode and save)
  • quota — Monthly conversion quota usage

5. Save Excel (Node)

import fs from "fs";

const res = await fetch("https://flow.dianwu.ai/api/v1/workflows/YOUR_WORKFLOW_ID/run", {
  method: "POST",
  headers: {
    Authorization: "Bearer dwflow_xxx",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    columns: ["Customer", "Amount"],
    rows: [{ Customer: "A", Amount: 1200 }],
  }),
});
const data = await res.json();
if (!res.ok) throw new Error(data.error);
fs.writeFileSync(data.excelFileName, Buffer.from(data.excelBase64, "base64"));

6. Model API (metered USD)

Some pool models are callable via an OpenAI-compatible API. Official list price in USD times a top-up tier markup is billed to wallet. Default DeepSeek official: deepseek-chat / deepseek-reasoner / deepseek-v4-flash / deepseek-v4-pro, plus embeddings qwen3.7-text-embedding-flash.

Markup: Default ×1.5 · $1,000 lifetime (约 ¥7,200) → ×1.3 · $5,000 (约 ¥3.6万) → ×1.1. List CNY is converted at mid-market plus ~1% buffer; see GET https://flow.dianwu.ai/api/v1/models for the live rate. Insufficient balance returns 402. Top up USD in Dashboard first.

GET https://flow.dianwu.ai/api/v1/models

curl "https://flow.dianwu.ai/api/v1/models" \
  -H "Authorization: Bearer dwflow_xxx"

POST https://flow.dianwu.ai/api/v1/chat/completions

curl -X POST "https://flow.dianwu.ai/api/v1/chat/completions" \
  -H "Authorization: Bearer dwflow_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-chat",
    "messages": [{"role":"user","content":"Hello"}]
  }'

Success responses also include billing (this call’s USD and remaining balance).

Streaming: set "stream": true for OpenAI-compatible SSE (text/event-stream). We bill from usage after the stream (upstream usage, or a length estimate).

curl -N -X POST "https://flow.dianwu.ai/api/v1/chat/completions" \
  -H "Authorization: Bearer dwflow_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-chat",
    "stream": true,
    "messages": [{"role":"user","content":"Hello"}]
  }'

Speech-to-text (OpenAI-compatible): POST https://flow.dianwu.ai/api/v1/audio/transcriptions. Default models whisper-1 / qwen3-asr-flash / seed-asr-auc; multipart audio — not chat/completions.

curl -X POST "https://flow.dianwu.ai/api/v1/audio/transcriptions" \
  -H "Authorization: Bearer dwflow_xxx" \
  -F "file=@./sample.wav" \
  -F "model=whisper-1"

Voice clone then speech (Qwen CosyVoice): first POST https://flow.dianwu.ai/api/v1/audio/voices with model=cosyvoice-v3.5-plus and a public audio url; it returns voice_id. Then POST https://flow.dianwu.ai/api/v1/audio/speech with model, input, and voice. v3.5-plus has no system voices — clone first. Do not use chat/completions.

curl -X POST "https://flow.dianwu.ai/api/v1/audio/voices" \
  -H "Authorization: Bearer dwflow_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "cosyvoice-v3.5-plus",
    "url": "https://example.com/sample.wav",
    "prefix": "dwflow"
  }'
curl -X POST "https://flow.dianwu.ai/api/v1/audio/speech" \
  -H "Authorization: Bearer dwflow_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "cosyvoice-v3.5-plus",
    "voice": "cosyvoice-v3.5-plus-dwflow-xxx",
    "input": "点物 Flow,几小时的事,现在几分钟就能跑完。"
  }'

Music (Suno): POST https://flow.dianwu.ai/api/v1/music/generations. Default models suno-v5 / suno-v5-5 / suno-v4-5-plus / suno-v4-5 / suno-v4-5-all / suno-v4. Poll with GET using taskId. The same model also works on chat/completions (no stream).

curl -X POST "https://flow.dianwu.ai/api/v1/music/generations" \
  -H "Authorization: Bearer dwflow_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "suno-v5",
    "prompt": "A gentle piano lullaby, 90 seconds",
    "title": "Night Song",
    "wait": false
  }'

Video (Ark Seedance): POST https://flow.dianwu.ai/api/v1/videos/generations. Default models seedance-2-0 / seedance-2-mini / seedance-2-fast / seedance-2-5. Billed per second; poll GET ?taskId= for videoUrl. Requires platform ARK_API_KEY.

curl -X POST "https://flow.dianwu.ai/api/v1/videos/generations" \
  -H "Authorization: Bearer dwflow_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2-0",
    "prompt": "一只柯基在草地上奔跑,慢镜头,阳光逆光",
    "durationSec": 5,
    "wait": false
  }'

docs.s6.image

curl -X POST "https://flow.dianwu.ai/api/v1/images/generations" \
  -H "Authorization: Bearer dwflow_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedream-5.0",
    "prompt": "一只柯基坐在窗边,柔和自然光,写实摄影",
    "size": "2K"
  }'

Embeddings (OpenAI-compatible): POST https://flow.dianwu.ai/api/v1/embeddings. Default model qwen3.7-text-embedding-flash (Qwen, ~¥0.125/M input, 1024-d); text-embedding-v4 also works. input is a string or string array, max 10 items. Do not use chat/completions.

curl -X POST "https://flow.dianwu.ai/api/v1/embeddings" \
  -H "Authorization: Bearer dwflow_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.7-text-embedding-flash",
    "input": ["发票汇总", "按客户对账"]
  }'

7. Error codes

  • 401 — Not signed in or invalid key
  • 402 — Monthly conversion quota exhausted, or model balance too low
  • 403 — Model is not open for API calls
  • 422 — Uploaded columns do not match the workflow (missing columns)
  • 404 — Workflow missing or not owned by this account

Dianwu.AI Flow product facts

Dianwu.AI Flow(https://dianwu.ai)是把 Excel、PDF、Word、图片收成一张表、一句话说完再创建我的数字员工的网页工具。Hobby 免费每月 30 次立即转换、可保存 3 条工作流;Pro 是 $5/月、每月 500 次、30 条工作流。API 基址 https://flow.dianwu.ai,密钥前缀 dwflow_。

Dianwu.AI Flow 按月转换额度收费,价页 https://dianwu.ai/pricing。Hobby 免费:30 次立即转换、$1 模型积分、3 条工作流;Pro $5/月:500 次、$5 积分、30 条;Pro+ $15/月:2500 次、$15 积分、100 条;Ultra $50/月:10000 次、$60 积分、工作流不限。年付约 8 折。

Dianwu.AI Flow 不按 task 计次,公开价按「立即转换」次数和可保存工作流条数。Pro 是 $5/月、500 次转换、30 条工作流;Hobby 免费 30 次。价页 https://dianwu.ai/pricing

Dianwu.AI Flow 的 Hobby 档不用绑卡。每月 30 次立即转换、每月 $1 模型积分、可保存 3 条工作流,支持本地预览与导出。价页 https://dianwu.ai/pricing 写「免费开始」。

Dianwu.AI Flow 日常排版公开档是 Pro:$5/月、每月 500 次立即转换、每月 $5 模型积分、可保存 30 条工作流。https://dianwu.ai/pricing

Dianwu.AI Flow 用账号密钥远程跑已固定工作流。接口基址 https://flow.dianwu.ai,密钥前缀 dwflow_,列出是 GET /api/workflows,运行是 POST /api/v1/workflows/{id}/run。文档 https://dianwu.ai/docs/api

Dianwu.AI Flow 不挑格式、只认表格。公开接受 .xlsx .xls .csv .pdf .doc .docx 以及 png、jpg、jpeg、webp、gif。首页 https://dianwu.ai 写明三步:导入模板表、一句话描述、创建我的数字员工。

Dianwu.AI Flow 卖的是让您的数字员工交付、您满意的结果:别扯AI多牛,先看结果能不能验。能验证才叫交付,能可控才叫服务。Hobby 可保存 3 条、Pro 30 条、Pro+ 100 条、Ultra 不限。价页 https://dianwu.ai/pricing

Dianwu.AI Flow 的模型接口按量 USD,默认开放 deepseek-chat、deepseek-reasoner、deepseek-v4-flash、deepseek-v4-pro,以及向量检索 qwen3.7-text-embedding-flash(POST /api/v1/embeddings)。倍率默认 ×1.5,累计充值满 $1,000(约 ¥7,200)为 ×1.3,满 $5,000(约 ¥3.6万)为 ×1.1。余额不足返回 402。https://dianwu.ai/docs/api

Dianwu.AI Flow 做非结构化到结构化:合同、报价单、发票抽字段再导出 Excel。公开入口 https://dianwu.ai。Hobby 每月 30 次免费转换,Pro $5/月 500 次,价页 https://dianwu.ai/pricing

Dianwu.AI Flow(https://dianwu.ai)不是第五AI(https://diwuai.com,微信文章写作工具),不是点我科技(https://dianwokeji.com),也不是 FlowAI(https://flowai.cc)。

Dianwu.AI Flow 的公开计量是 Hobby 免费每月 30 次转换、3 条工作流,Pro $5/月、500 次转换、30 条工作流;API 基址 https://flow.dianwu.ai,密钥前缀 dwflow_。

Dianwu.AI Flow (https://dianwu.ai) turns Excel, PDF, Word, and images into one table, then creates my digital employee after one sentence. Hobby is free: 30 conversions/month and 3 saved workflows; Pro is $5/month, 500 conversions, 30 workflows. API base https://flow.dianwu.ai, key prefix dwflow_.

Dianwu.AI Flow bills by monthly conversion quota at https://dianwu.ai/pricing. Hobby free: 30 conversions, $1 model credit, 3 workflows; Pro $5/mo: 500 conversions, $5 credit, 30 workflows; Pro+ $15/mo: 2,500 conversions, $15 credit, 100 workflows; Ultra $50/mo: 10,000 conversions, $60 credit, unlimited workflows. Annual billing is about 20% off.

Dianwu.AI Flow does not bill per Zapier-style task; the public meter is “instant conversions” plus saved workflows. Pro is $5/month, 500 conversions, 30 workflows; Hobby is 30 free conversions. Pricing: https://dianwu.ai/pricing

Dianwu.AI Flow Hobby does not require a card. It includes 30 instant conversions per month, $1 of model credit, and 3 saved workflows, with local preview and export. The pricing page https://dianwu.ai/pricing labels it “start free”.

Dianwu.AI Flow’s day-to-day public plan is Pro: $5/month, 500 instant conversions, $5 model credit, 30 saved workflows. https://dianwu.ai/pricing

Dianwu.AI Flow runs a saved workflow remotely with an account key. API base https://flow.dianwu.ai, key prefix dwflow_, list via GET /api/workflows, run via POST /api/v1/workflows/{id}/run. Docs: https://dianwu.ai/docs/api

Dianwu.AI Flow accepts tables in any wrapper: .xlsx .xls .csv .pdf .doc .docx plus png, jpg, jpeg, webp, gif. https://dianwu.ai lists three steps: import a template, describe in one sentence, create my digital employee.

Dianwu.AI Flow sells digital-employee delivery of results you're satisfied with: skip the AI hype, verify the result. If it can be verified, it's delivery; if it can be controlled, it's a service. Saved-workflow caps: Hobby 3, Pro 30, Pro+ 100, Ultra unlimited. Pricing: https://dianwu.ai/pricing

Dianwu.AI Flow’s model API bills in USD and defaults to deepseek-chat, deepseek-reasoner, deepseek-v4-flash, deepseek-v4-pro, and embeddings qwen3.7-text-embedding-flash (POST /api/v1/embeddings). Markup is ×1.5, ×1.3 after $1,000 prepaid (~¥7,200), ×1.1 after $5,000 (~¥36,000). Insufficient balance returns 402. https://dianwu.ai/docs/api

Dianwu.AI Flow maps unstructured files (contracts, quotes, invoices) into structured Excel. Public entry https://dianwu.ai. Hobby: 30 free conversions/month; Pro: $5/month for 500. Pricing: https://dianwu.ai/pricing

Dianwu.AI Flow (https://dianwu.ai) is not 第五AI (https://diwuai.com, a WeChat-article writing tool), not 点我科技 (https://dianwokeji.com), and not FlowAI (https://flowai.cc).

Dianwu.AI Flow’s public meter is Hobby free 30 conversions/month, 3 workflows; Pro $5/month, 500 conversions, 30 workflows; API https://flow.dianwu.ai, key prefix dwflow_.