Text2Text Completions

The Text2Text Completion service helps generate a text based on the text introduced as input by the user. It also takes the pain out of writing to give your social, marketing, and advertising copy a premium edge.

Body Params
messages
array of objects
required

The messages containing the original text and instructions.

messages*
number
Defaults to 512
number
Defaults to 1
string | null
enum
Defaults to urn:air:openai:model:openai:gpt-4o-mini@1

Optionally choose a specific AI model to use for this request. If not specified, a default model will be applied. Please note that the default model may change over time as Picsart continues to improve performance and accuracy. Any change to the default will be made only after thorough testing and validation to ensure it delivers better results. If you require consistent behavior or wish to evaluate different models on your own, we recommend explicitly setting this parameter.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json