Doubao Seed 2 0 Lite는 ByteDance Doubao의 빠르고 비용 효율적인 모델입니다. MeshTok 통합 API를 통해 사용 가능합니다.
OpenAI를 바로 대체할 수 있습니다. base_url과 model만 변경하세요.
# Python - pip install openai from openai import OpenAI client = OpenAI( base_url="https://meshtok.com/v1", api_key="sk-your-MeshTok-key", ) resp = client.chat.completions.create( model="bytedance/doubao-seed-2-0-lite", messages=[{"role":"user","content":"Hello!"}], ) print(resp.choices[0].message.content)
# cURL curl https://meshtok.com/v1/chat/completions \ -H "Authorization: Bearer sk-your-MeshTok-key" \ -H "Content-Type: application/json" \ -d '{"model":"bytedance/doubao-seed-2-0-lite","messages":[{"role":"user","content":"Hello!"}]}'
고려해볼 만한 다른 모델입니다.
ByteDance’s flagship Doubao model.
Doubao's flagship model.
General-purpose chat model.
Fast and cost-efficient.