Learn how to get started with Friendli Serverless Endpoints in this step-by-step guide. Create an account, choose from powerful AI models like Llama 3.1, and seamlessly generate text, code, and more with ease.
If you wish to send your requests through the endpoint URL, you can find the model id by hitting the info button on the top-right corner of the page.
Refer to this guide for general instructions on the Friendli Token.
Copy
Ask AI
curl -X POST https://api.friendli.ai/serverless/v1/chat/completions \ -H "Authorization: Bearer $FRIENDLI_TOKEN" \ -d '{ "model": "meta-llama-3.1-8b-instruct", "messages": [ { "role": "user", "content": "Python is a popular" } ] }'
Check out the Text Generation docs for more details.Ready to unlock the creativity of generative AI? Get started with Friendli Serverless Endpoints today!