curl --request POST \ --url https://api.bytez.com/models/v2/google/flan-t5-base \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "text": "Once upon a time there was a beautiful home where", "stream": true}'
Copy
{ "error": "<string>", "output": "Once upon a time there was a beautiful home where there was a happy cat"}
Language Models
text2text-generation
Generate text from input text for applications like text completion, content generation, and dialogue systems
POST
/
models
/
v2
/
google
/
flan-t5-base
text2text-generation
Copy
curl --request POST \ --url https://api.bytez.com/models/v2/google/flan-t5-base \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "text": "Once upon a time there was a beautiful home where", "stream": true}'
Copy
{ "error": "<string>", "output": "Once upon a time there was a beautiful home where there was a happy cat"}