Content - TypeScript SDK
Content type definition
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Content type definition
operations.ContentTextconst value: operations.ContentText = {
text: "<value>",
type: "text",
};
operations.ContentImageURLconst value: operations.ContentImageURL = {
imageUrl: {
url: "https://zealous-march.biz/",
},
type: "image_url",
};
models.ContentPartInputAudioconst value: models.ContentPartInputAudio = {
inputAudio: {
data: "data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAA...",
},
type: "input_audio",
};
models.ContentPartInputVideoconst value: models.ContentPartInputVideo = {
inputVideo: {
data: "data:video/mp4;base64,AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQy...",
},
type: "input_video",
};
models.ContentPartInputFileconst value: models.ContentPartInputFile = {
inputFile: {
data: "data:application/pdf;base64,JVBERi0xLjQKJeLjz9MKMyAw...",
},
type: "input_file",
};