Before You Begin
Generate from Multimodal Inputs WorqHat AiCon V4 API allows you to generate text using only text input. You can choose from a variety of models, each with its own strengths:
aion-v4-nano-160824
(finetuned included): Ideal for quick and efficient text generation, especially when resources are limited.aion-v4-large-160824
(finetuned included): Our smartest and highest accuracy model, suitable for a wide range of text generation tasks, complex though and reasoning along with mathematical solutions.aion-v4-alpha-160824
: A better version of the aion-v4-nano-160824 model which is trained on live data, providing up-to-date insights and knowledge. It’s ideal for tasks that require real-time information, such as news analysis, market research, or staying informed on current events.Choose Your Response Style:
You have the option to either stream the response (stream_data = true
) or wait for the entire result to be generated (stream_data = false
).
Benefit: Faster interactions. You receive partial results as they are generated, allowing you to start working with the text immediately.
Example:
Benefit: Faster interactions. You receive partial results as they are generated, allowing you to start working with the text immediately.
Example:
Benefit: You receive the complete generated text in one go. Suitable for situations where you want to handle output generated
Example:
Key Points:
YOUR_API_KEY
with your actual WorqHat AiCon V4 API key.model
parameter to select the desired model.prompt
to provide your text input.Try out other Capabilities of the WorqHat API
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Text generated successfully
The response is of type object
.