设计与多媒体

deepseek

试用

Call the DeepSeek API (deepseek-v4-pro, deepseek-v4-flash, and deepseek-v4-flash-vision-exp) through RunAPI using OpenAI-compatible Chat Completions and Responses. Use for DeepSeek text, image input, streaming, the verified Flash function path, or an existing compatibility client that needs the conditional reference.

它能做什么

Call the DeepSeek API (deepseek-v4-pro, deepseek-v4-flash, and deepseek-v4-flash-vision-exp) through RunAPI using OpenAI-compatible Chat Completions and Responses. Use for DeepSeek text, image input, streaming, the verified Flash function path, or an existing compatibility client that needs the conditional reference.

技能文档

DeepSeek on RunAPI

Use OpenAI-compatible endpoints at https://runapi.ai/v1 as the primary protocol.

Primary protocol recipe

Authenticate

Set OPENAI_API_KEY to a RunAPI API key and OPENAI_BASE_URL to https://runapi.ai/v1.

Send request

from openai import OpenAI
client = OpenAI(api_key="YOUR_RUNAPI_TOKEN", base_url="https://runapi.ai/v1")
response = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[{"role": "user", "content": "Explain this decision."}],
)
print(response.choices[0].message.content)
print(response.usage)

For long output, set stream=True and stream_options={"include_usage": True}; consume through [DONE]. deepseek-v4-flash additionally supports one custom function on Responses; keep automatic tool selection and one serial call/result lifecycle.

Verify result

For Chat, require final assistant content, finish_reason, and usage. For Responses, require final output, one usage-bearing response.completed, and [DONE] when streaming.

Stop boundaries

Correct a rejected shape once using the structured error. Retry transport once only before any response or Usage and when replay is safe. Record a terminal error and stop without changing model or protocol. Add tools, reasoning, storage, cache controls, documents, or multimodal input only when the current RunAPI contract verifies the exact model/protocol shape.

Compatibility protocols

Load compatibility protocols only when an existing client requires Anthropic Messages or Gemini contents.

Supported models

Model IDUse when
deepseek-v4-proHigher-quality verified text workloads
deepseek-v4-flashFast text and one verified custom-function lifecycle

References

相关技能

Use APIDot for DeepSeek V4 Flash API workflows, including OpenAI-compatible chat, 1M-token long-context reasoning, fast non-thinking responses, prompt-guided...

Use APIDot for DeepSeek V4 Pro API workflows, including OpenAI-compatible chat, 1M-token long-context reasoning, complex coding, document review, agent plann...

Opens Brave browser and navigates to DeepSeek website. Use when user says 'open deepseek' or 'go to deepseek'.

1 星标

DeepSeek V4 chat on PoYo / poyo.ai via `https://api.poyo.ai/v1/chat/completions`; use for `deepseek-v4-flash`, `deepseek-v4-pro`, OpenAI-compatible chat payl...

2 次安装

Call the Qwen text API (qwen3-next-80b-a3b-instruct) through RunAPI using the official OpenAI SDK or compatible clients. Use when the user asks for Qwen text...

1 次安装

Use when the user asks what RunAPI models are available, compares models, needs pricing, asks for required fields, searches by modality, or wants a recommend...

12 次安装