買噹噹 影片下載 工具 免安裝任何套件 下載 Youtube影片
Mydowndown | 下載Youtube影片- MDD
http://mydowndown.com/y2
點網址,貼上youtube網址,即可下載
買噹噹 免安裝任何套件, 下載 facebook 影片
https://mydowndown.com/
點網址,貼上fb網址,即可下載
相關文章:
fetch('https://openrouter.ai/api/v1/chat/completions', {
method: 'POST',
headers: {
Authorization: 'Bearer OPENROUTER_API_KEY',
'HTTP-Referer': 'YOUR_SITE_URL',
'X-Title': 'YOUR_SITE_NAME',
'Content-Type': 'application/json',
},
body: JSON.stringify({
model: 'openai/gpt-4o',
messages: [
{
role: 'user',
content: 'What is the meaning of life?',
},
],
}),
});
from openrouter import OpenRouter
import os
with OpenRouter(api_key=os.getenv("OPENROUTER_API_KEY")) as client:
response = client.chat.send(
model="~openai/gpt-sol-latest",
messages=[
{"role": "user", "content": "What is the meaning of life?"}
],
)
print(response.choices[0].message.content)
沒有留言:
張貼留言