Finetuned Models (Multimodal Input)
Generate from Multimodal Input
WorqHat AiCon V4 Custom Model API allows you to generate text using multimodal inputs. You can choose from several base models, each with its own strengths:
aicon-v4-nano-160824
(finetuned included): Ideal for quick and efficient text generation, especially when resources are limited.aicon-v4-large-160824
(finetuned included): Our smartest and highest accuracy model, suitable for a wide range of text generation tasks, complex thoughts and reasoning along with mathematical solutions.
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:
- Replace
YOUR_API_KEY
with your actual WorqHat AiCon V4 API key. - Adjust the
model
parameter to select the desired model. - Modify the
prompt
to provide your text input. Try out other Capabilities of the WorqHat API - Build Multiturn Conversations or Chat Applications by having the model maintain history by default
- Fetch real world information and data using the Alpha Models
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The type of the base model that you have used to train the data.
nano
, large
The unique ID of the custom model that has been created.
Body
Response
The response is of type object
.