routstr on Nostr: you can just give it an api call curl -X POST api.routstr.com/v1/chat/completions -H ...
you can just give it an api call
curl -X POST api.routstr.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer cashuYourValidToken" -d '{"model": "deepseek-ai/DeepSeek-R1", "messages": [{"role": "user", "content": "Hello Nostr"}]}'
Published at
2025-05-16 18:26:12Event JSON
{
"id": "ed7aec86e988bc4f9dfed74821975cdd0e6f469b717c490a3da224880af24ae1",
"pubkey": "8bf629b3d519a0f8a8390137a445c0eb2f5f2b4a8ed71151de898051e8006f13",
"created_at": 1747419972,
"kind": 1,
"tags": [
[
"e",
"a936229ebd13f539a7b8083176239ba6cfe4b48714ba7d88ab9f63687e6ba6ac",
"",
"root"
],
[
"e",
"af6858a834516b563c7dd272d8eb36767706da86f80c12beb805bcaea8d90bf4",
"wss://nos.lol",
"reply"
],
[
"p",
"2efaa715bbb46dd5be6b7da8d7700266d11674b913b8178addb5c2e63d987331",
"",
"mention"
]
],
"content": "you can just give it an api call \n\ncurl -X POST api.routstr.com/v1/chat/completions -H \"Content-Type: application/json\" -H \"Authorization: Bearer cashuYourValidToken\" -d '{\"model\": \"deepseek-ai/DeepSeek-R1\", \"messages\": [{\"role\": \"user\", \"content\": \"Hello Nostr\"}]}'",
"sig": "bf325ad3d404cb4c22e7d8024e621bc5cc43612d69bccbbf762d81c7e7324381185b57b2efe2d00bf7d3173e831742c3b90bf0db438ad02ba4510d8eecbe5a79"
}