Use chat, image generation and editing, audio, embeddings, and task lookups through the general OpenAI MCP server from Ace Data Cloud. Use your own Ace key and review billable calls.
OpenAI API by Ace Data Cloud
Use the OpenAI chat, image, audio, and embedding tools provided through Ace Data Cloud.
- Open Ace Data Cloud Applications and copy an application API key with access to OpenAI API.
- Install this server from LangBot Space. Paste the key into the private token field without the
Bearerprefix. LangBot supplies that prefix when it connects. - Enable the server for your agent. Run
openai_list_chat_modelsto inspect chat options oropenai_list_image_modelsto inspect image options. Useopenai_get_taskto check an existing asynchronous task.
Chat, image, audio, and embedding requests use Ace credits. View service pricing.
Generate speech audio from text using OpenAI TTS models via AceDataCloud. Converts text to natural-sounding speech using OpenAI's text-to-speech models. Use this when: - You need to convert text to spoken audio - You want to generate voiceovers or narration - You need audio output from text content Returns: JSON response containing base64-encoded audio data and format information. Decode the 'audio' field with base64 to get the raw audio bytes.
Parameters
{
"type": "object",
"title": "openai_text_to_speechArguments",
"required": [
"input"
],
"properties": {
"input": {
"type": "string",
"title": "Input",
"description": "The text to synthesize into speech. Example: 'Hello, welcome to our service!'"
},
"model": {
"enum": [
"tts-1",
"tts-1-hd"
],
"type": "string",
"title": "Model",
"default": "tts-1-hd",
"description": "The TTS model to use. Options: 'tts-1-hd' (default, higher quality), 'tts-1' (faster, lower latency)."
},
"speed": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Speed",
"default": null,
"description": "Speaking speed multiplier. Range: 0.25 to 4.0. Default is 1.0 (normal speed)."
},
"voice": {
"enum": [
"alloy",
"echo",
"fable",
"onyx",
"nova",
"shimmer"
],
"type": "string",
"title": "Voice",
"default": "alloy",
"description": "The voice to use for synthesis. Options: 'alloy' (default), 'echo', 'fable', 'onyx', 'nova', 'shimmer'."
},
"response_format": {
"enum": [
"mp3",
"opus",
"aac",
"flac",
"wav",
"pcm"
],
"type": "string",
"title": "Response Format",
"default": "mp3",
"description": "Audio output format. Options: 'mp3' (default), 'opus', 'aac', 'flac', 'wav', 'pcm'."
}
}
}Transcribe audio to text using OpenAI transcription models via AceDataCloud. Downloads audio from the given URL and sends it to an OpenAI transcription model. Supports a wide range of audio formats and optional language hints. Use this when: - You need to convert spoken audio to text - You want subtitles or captions from a video/audio file - You need timestamped transcripts for processing Returns: JSON response containing the transcribed text (and timestamps if verbose_json). For 'text', 'srt', and 'vtt' formats the raw string is returned in a {"text": "..."} wrapper for consistent handling.
Parameters
{
"type": "object",
"title": "openai_transcribe_audioArguments",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"title": "Url",
"description": "URL of the audio file to transcribe. The file will be downloaded and sent to the Whisper model. Supported formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm. Maximum file size: 25 MB."
},
"model": {
"enum": [
"whisper-1",
"gpt-transcribe"
],
"type": "string",
"title": "Model",
"default": "whisper-1",
"description": "The transcription model to use. Options: 'whisper-1' (default) or 'gpt-transcribe'."
},
"prompt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Prompt",
"default": null,
"description": "Optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language."
},
"stream": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Stream",
"default": null,
"description": "Whether to stream the transcription response. Note: whisper-1 does not support streaming; this parameter will be ignored and the complete result will be returned."
},
"keywords": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Keywords",
"default": null,
"description": "Optional list of keywords or phrases to bias the transcription toward important domain-specific terms."
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Language",
"default": null,
"description": "The language of the audio in ISO-639-1 format (e.g. 'en', 'fr', 'de'). Providing this improves accuracy and latency. If omitted, Whisper auto-detects."
},
"languages": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Languages",
"default": null,
"description": "Optional list of language codes to constrain transcription to specific languages. Use ISO-639-1 values like ['en', 'fr']."
},
"temperature": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Temperature",
"default": null,
"description": "Sampling temperature between 0 and 1. Higher values produce more creative but potentially less accurate output. Default is 0 (deterministic)."
},
"response_format": {
"enum": [
"json",
"text",
"srt",
"verbose_json",
"vtt"
],
"type": "string",
"title": "Response Format",
"default": "json",
"description": "Format of the transcription output. Options: 'json' (default, returns structured JSON with 'text' field), 'text' (plain text), 'srt' (SubRip subtitle format), 'verbose_json' (detailed JSON with timestamps and segments), 'vtt' (WebVTT subtitle format)."
},
"timestamp_granularities": {
"anyOf": [
{
"type": "array",
"items": {
"enum": [
"word",
"segment"
],
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Timestamp Granularities",
"default": null,
"description": "Granularity of timestamps in verbose_json output. Options: 'word' (word-level timestamps), 'segment' (segment-level timestamps). Only used when response_format is 'verbose_json'."
}
}
}Create a chat completion using OpenAI models via AceDataCloud. Sends a conversation to the specified model and returns the generated response. Supports all major GPT and o-series models. Use this when: - You need to have a conversation with an AI model - You want to generate text responses based on a prompt - You need structured JSON output from a model Returns: JSON response containing the model's reply and usage information.
Parameters
{
"type": "object",
"title": "openai_chat_completionArguments",
"required": [
"messages"
],
"properties": {
"n": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "N",
"default": null,
"description": "How many chat completion choices to generate for each input. Default is 1."
},
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Seed",
"default": null,
"description": "Random seed for best-effort deterministic sampling."
},
"stop": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Stop",
"default": null,
"description": "Stop sequences where the API will stop generating tokens."
},
"user": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "User",
"default": null,
"description": "End-user identifier for abuse monitoring."
},
"audio": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Audio",
"default": null,
"description": "Audio output configuration when requesting audio modality."
},
"model": {
"enum": [
"gpt-6.2-astra",
"gpt-6.2-sol",
"gpt-6.1-sol",
"gpt-6.1-terra",
"gpt-6-sol",
"gpt-6-luna",
"gpt-6-astra",
"gpt-oss:free",
"gpt-5.5:free",
"gpt-5:free",
"gpt-4.1:free",
"gpt-4o:free",
"gpt-4o-mini:free",
"gpt-5.6-luna",
"gpt-5.6-terra",
"gpt-5.6-sol-fast",
"gpt-5.6-sol",
"gpt-5.5",
"gpt-5.5-pro",
"gpt-5.4",
"gpt-5.4-mini",
"gpt-5.4-nano",
"gpt-5.4-pro",
"gpt-5.2",
"gpt-5.1",
"gpt-5.1-all",
"gpt-5",
"gpt-5-pro",
"gpt-5-mini",
"gpt-5-nano",
"gpt-4",
"gpt-4.1",
"gpt-4.1-mini",
"gpt-4.1-nano",
"gpt-4o",
"gpt-4o-2024-05-13",
"gpt-4o-all",
"gpt-4o-image",
"gpt-4o-mini",
"gpt-35-turbo-16k",
"o1",
"o1-mini",
"o1-pro",
"o3",
"o3-mini",
"o3-pro",
"o4-mini",
"mimo-v2.6-pro",
"mimo-v2.6-flash"
],
"type": "string",
"title": "Model",
"default": "gpt-4.1",
"description": "The model to use for chat completion. Options include gpt-4.1, gpt-4o, gpt-5, o1, o3, o4-mini, and many more. Default is gpt-4.1."
},
"store": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Store",
"default": null,
"description": "Whether to store the output of this chat completion. Default is false."
},
"tools": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Tools",
"default": null,
"description": "Tools/functions the model may call."
},
"top_p": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Top P",
"default": null,
"description": "Nucleus sampling probability mass. Default is 1."
},
"stream": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Stream",
"default": null,
"description": "This MCP tool returns a complete JSON response. Omit or set false; stream=true is rejected before sending a request."
},
"logprobs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Logprobs",
"default": null,
"description": "Whether to return log probabilities of output tokens."
},
"messages": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Messages",
"description": "A list of messages comprising the conversation. Each message must have a 'role' ('system', 'user', or 'assistant') and 'content' field. Example: [{'role': 'user', 'content': 'Hello!'}]"
},
"metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Metadata",
"default": null,
"description": "Developer-defined metadata attached to the request."
},
"thinking": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Thinking",
"default": null,
"description": "MiMo reasoning control: {'type': 'enabled'} or {'type': 'disabled'}."
},
"logit_bias": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
{
"type": "null"
}
],
"title": "Logit Bias",
"default": null,
"description": "Token logit bias map."
},
"max_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Tokens",
"default": null,
"description": "The maximum number of tokens to generate. If not specified, the model uses its default limit."
},
"modalities": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Modalities",
"default": null,
"description": "Output modalities requested for this response."
},
"prediction": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Prediction",
"default": null,
"description": "Static predicted output content to improve latency."
},
"temperature": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Temperature",
"default": null,
"description": "Sampling temperature between 0 and 2. Higher values (e.g. 0.8) make output more random, lower values (e.g. 0.2) make it more focused. Default is 1."
},
"tool_choice": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Tool Choice",
"default": null,
"description": "Controls tool calling: 'none', 'auto', 'required', or a tool choice object."
},
"service_tier": {
"anyOf": [
{
"enum": [
"auto",
"default",
"flex",
"scale",
"priority"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Service Tier",
"default": null,
"description": "Specifies the processing tier. Options: 'auto' (default), 'default', 'flex', 'scale', 'priority'."
},
"top_logprobs": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Top Logprobs",
"default": null,
"description": "Number of most likely tokens to return at each token position."
},
"stream_options": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Stream Options",
"default": null,
"description": "Options for streaming responses."
},
"response_format": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Response Format",
"default": null,
"description": "Response format specification, such as {\"type\": \"json_object\"}."
},
"presence_penalty": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Presence Penalty",
"default": null,
"description": "Presence penalty between -2.0 and 2.0."
},
"reasoning_effort": {
"anyOf": [
{
"enum": [
"minimal",
"low",
"medium",
"high",
"xhigh",
"max"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Reasoning Effort",
"default": null,
"description": "Reasoning effort: minimal, low, medium, high, xhigh, or max, depending on the model. GPT-6.1 Terra supports low through max, not minimal; start with low."
},
"frequency_penalty": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Frequency Penalty",
"default": null,
"description": "Frequency penalty between -2.0 and 2.0."
},
"web_search_options": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Web Search Options",
"default": null,
"description": "Web search configuration for search-capable models."
},
"parallel_tool_calls": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Parallel Tool Calls",
"default": null,
"description": "Whether to enable parallel tool calls. Default is true."
},
"max_completion_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Completion Tokens",
"default": null,
"description": "Upper bound for tokens generated for a completion."
}
}
}Create text embeddings using OpenAI embedding models via AceDataCloud. Converts text into numerical vector representations that can be used for semantic search, text similarity, clustering, and other ML tasks. Use this when: - You need to compare semantic similarity between texts - You want to build a semantic search system - You need vector representations for machine learning Returns: JSON response containing the embedding vectors and usage information.
Parameters
{
"type": "object",
"title": "openai_create_embeddingArguments",
"required": [
"input"
],
"properties": {
"input": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 2048,
"minItems": 1
},
{
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"minItems": 1
},
{
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"minItems": 1
},
"maxItems": 2048,
"minItems": 1
}
],
"title": "Input",
"description": "Input to embed. Pass one text as a string, multiple texts as a real JSON array of strings, one token sequence as an integer array, or multiple token sequences as an array of integer arrays. Never JSON-stringify an array."
},
"model": {
"enum": [
"text-embedding-3-small",
"text-embedding-3-large"
],
"type": "string",
"title": "Model",
"default": "text-embedding-3-small",
"description": "The embedding model to use. Options: 'text-embedding-3-small' (default, cost-efficient) or 'text-embedding-3-large' (higher quality)."
},
"dimensions": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Dimensions",
"default": null,
"description": "Optional output embedding size. Supported by text-embedding-3 models. Reduces the embedding dimensions while maintaining quality."
},
"encoding_format": {
"enum": [
"float",
"base64"
],
"type": "string",
"title": "Encoding Format",
"default": "float",
"description": "The format of the returned embeddings. 'float' returns floating-point numbers (default), 'base64' returns base64-encoded data."
}
}
}Generate images using OpenAI image models via AceDataCloud. Creates AI-generated images from text descriptions using models like gpt-image-1, dall-e-3, and nano-banana variants. Use this when: - You want to create an image from a text description - You need AI-generated artwork or illustrations - You want to generate product mockups or visual concepts Returns: JSON with a `task_id`. Generation runs asynchronously — poll `openai_get_task` with that id until it reports `finished_at`, then read the image URLs from its `response`. When `callback_url` is set the result is POSTed there instead.
Parameters
{
"type": "object",
"title": "openai_generate_imageArguments",
"required": [
"prompt"
],
"properties": {
"n": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "N",
"default": null,
"description": "Number of output files (1-10), not GIF frames. Default is 1."
},
"size": {
"type": "string",
"title": "Size",
"default": "auto",
"description": "Image dimensions as 'WIDTHxHEIGHT' or 'auto' (default). GPT Image 2, 2.5 and 2.6 models accept custom dimensions matching the format (multiples of 16, longer side ≤ 3840, total pixels 655,360–8,294,400, aspect ratio ≤ 3:1). Common presets — 1K: '1024x1024', '1536x1024', '1024x1536', '1792x1024', '1024x1792'; 2K: '2048x2048', '2048x1536', '1536x2048', '2048x1152', '1152x2048'; 4K: '2880x2880', '3264x2448', '2448x3264', '3840x2160', '2160x3840'. dall-e-2: '256x256', '512x512', '1024x1024'. dall-e-3: '1024x1024', '1792x1024', '1024x1792'. These GPT Image limits apply to static images. GIF uses a 512x512 preview when size is auto; size, frame count and n share a separate model pixel budget."
},
"async": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Async",
"default": null,
"description": "Whether to process the request asynchronously."
},
"model": {
"enum": [
"dall-e-2",
"dall-e-3",
"gpt-image-1",
"gpt-image-1.5",
"gpt-image-2",
"gpt-image-2.5-flare",
"gpt-image-2.6-flare",
"gpt-image-2.5-flare:reverse",
"gpt-image-2.6-flare:reverse",
"gpt-image-2.5-flare:official",
"gpt-image-2.6-flare:official",
"gpt-image-2.5-sunburst",
"gpt-image-2.6-sunburst",
"gpt-image-2.5-sunburst:reverse",
"gpt-image-2.6-sunburst:reverse",
"gpt-image-2.5-sunburst:official",
"gpt-image-2.6-sunburst:official",
"gpt-image-2:reverse",
"gpt-image-2:official",
"nano-banana",
"nano-banana-2-lite",
"nano-banana-2",
"nano-banana-2.1",
"nano-banana-pro"
],
"type": "string",
"title": "Model",
"default": "gpt-image-1",
"description": "The image model to use. Options: 'gpt-image-1' (default, versatile), 'gpt-image-1.5', 'gpt-image-2', 'gpt-image-2.5-flare', 'gpt-image-2.5-flare:reverse', 'gpt-image-2.5-flare:official', 'gpt-image-2.5-sunburst', 'gpt-image-2.5-sunburst:reverse', 'gpt-image-2.5-sunburst:official', 'gpt-image-2.6-flare', 'gpt-image-2.6-flare:reverse', 'gpt-image-2.6-flare:official', 'gpt-image-2.6-sunburst', 'gpt-image-2.6-sunburst:reverse', 'gpt-image-2.6-sunburst:official', 'dall-e-3', 'dall-e-2', 'nano-banana', 'nano-banana-2-lite', 'nano-banana-2', 'nano-banana-2.1', 'nano-banana-pro'. Nano Banana 2.1 has no ':official' variant. GPT Image ':official' variants use actual-token billing."
},
"style": {
"anyOf": [
{
"enum": [
"vivid",
"natural"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Style",
"default": null,
"description": "Image style for dall-e-3. 'vivid' generates hyper-real and dramatic images, 'natural' produces more natural, less hyper-real looking images."
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "A text description of the desired image(s). Be descriptive about the subject, style, lighting, and composition. Example: 'A serene mountain landscape at sunset with golden light'"
},
"quality": {
"enum": [
"auto",
"high",
"medium",
"low",
"xhigh",
"max",
"hd",
"standard"
],
"type": "string",
"title": "Quality",
"default": "auto",
"description": "Image quality. GPT Image: 'auto' (default), 'high', 'medium', 'low'. GPT Image 2.5 and 2.6 Flare/Sunburst (including ':reverse' and ':official') also support 'xhigh' and 'max'. Official variants bill actual token usage. dall-e-3: 'hd' or 'standard'; dall-e-2: 'standard' only."
},
"background": {
"anyOf": [
{
"enum": [
"transparent",
"opaque",
"auto"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Background",
"default": null,
"description": "Background type for gpt-image models. 'transparent' removes the background, 'opaque' keeps it, 'auto' decides automatically."
},
"complexity": {
"anyOf": [
{
"enum": [
"low",
"medium",
"high"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Complexity",
"default": null,
"description": "GPT Image 2.6 only: planning complexity, independent of quality, with no separate surcharge. Omit for model default high; official variants still bill actual tokens."
},
"moderation": {
"anyOf": [
{
"enum": [
"low",
"auto"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Moderation",
"default": null,
"description": "Content moderation level. 'auto' uses default moderation, 'low' applies less strict filtering."
},
"frame_count": {
"anyOf": [
{
"type": "integer",
"maximum": 16,
"minimum": 2
},
{
"type": "null"
}
],
"title": "Frame Count",
"default": null,
"description": "GIF frame count, 2-16. Defaults to 9."
},
"callback_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Callback Url",
"default": null,
"description": "Optional webhook URL. When provided, the API returns a task_id immediately and POSTs the result to this URL when generation completes."
},
"output_format": {
"enum": [
"png",
"jpeg",
"webp",
"gif"
],
"type": "string",
"title": "Output Format",
"default": "png",
"description": "Output format: png (default), jpeg, webp; gif for GPT Image 2.6 Flare/Sunburst (standard/reverse/official). GIF defaults to a 512x512 preview, 9 frames, 200ms per frame; static 4K sizes do not apply to GIF."
},
"partial_images": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Partial Images",
"default": null,
"description": "Number of partial images to emit during streaming (0-3). 0 returns the final image in one event."
},
"response_format": {
"enum": [
"url",
"b64_json"
],
"type": "string",
"title": "Response Format",
"default": "url",
"description": "How to return the image. 'url' (default) returns a URL, 'b64_json' returns base64-encoded image data."
},
"frame_duration_ms": {
"anyOf": [
{
"type": "integer",
"maximum": 655350,
"minimum": 20
},
{
"type": "null"
}
],
"title": "Frame Duration Ms",
"default": null,
"description": "GIF frame duration in milliseconds, 20-655350; rounded to 10ms. Defaults to 200."
},
"output_compression": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Output Compression",
"default": null,
"description": "Compression level (0-100%) for jpeg/webp output formats. Default is 100."
}
}
}Edit or modify existing images using OpenAI image models via AceDataCloud. Applies AI-powered edits to existing images based on text descriptions. Can modify, extend, or transform images while preserving desired elements. Use this when: - You want to modify an existing image - You need to add, remove, or change elements in an image - You want to apply a specific style or transformation to an image Returns: JSON with a `task_id`. Editing runs asynchronously — poll `openai_get_task` with that id until it reports `finished_at`, then read the image URLs from its `response`. When `callback_url` is set the result is POSTed there instead.
Parameters
{
"type": "object",
"$defs": {
"ImageMarkup": {
"type": "object",
"title": "ImageMarkup",
"required": [
"image_url"
],
"properties": {
"image_url": {
"type": "string",
"title": "Image Url"
}
},
"additionalProperties": false
}
},
"title": "openai_edit_imageArguments",
"required": [
"image",
"prompt"
],
"properties": {
"n": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "N",
"default": null,
"description": "Number of output files (1-10), not GIF frames. Default is 1."
},
"size": {
"type": "string",
"title": "Size",
"default": "auto",
"description": "Output image dimensions as 'WIDTHxHEIGHT' or 'auto'. Default is 'auto'. GPT Image 2, 2.5 and 2.6 models accept custom dimensions (multiples of 16, longer side ≤ 3840, total pixels 655,360–8,294,400, aspect ratio ≤ 3:1). Common presets — 1K: '1024x1024', '1536x1024', '1024x1536', '1792x1024', '1024x1792'; 2K: '2048x2048', '2048x1536', '1536x2048', '2048x1152', '1152x2048'; 4K: '2880x2880', '3264x2448', '2448x3264', '3840x2160', '2160x3840'. dall-e-2: '256x256', '512x512', '1024x1024'. These GPT Image limits apply to static images. GIF uses a 512x512 preview when size is auto; size, frame count and n share a separate model pixel budget."
},
"async": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Async",
"default": null,
"description": "Whether to process the request asynchronously."
},
"image": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 16,
"minItems": 1
}
],
"title": "Image",
"description": "Reference image URL(s). Pass one URL as a string, or multiple URLs as a real JSON array of strings (maximum 16) in the intended reference order. For example: [\"https://example.com/base.png\", \"https://example.com/logo.png\"]. Never join multiple URLs with commas and never JSON-stringify the array. The first image should normally be the base image; describe the role of later references in prompt."
},
"model": {
"enum": [
"dall-e-2",
"dall-e-3",
"gpt-image-1",
"gpt-image-1.5",
"gpt-image-2",
"gpt-image-2.5-flare",
"gpt-image-2.6-flare",
"gpt-image-2.5-flare:reverse",
"gpt-image-2.6-flare:reverse",
"gpt-image-2.5-flare:official",
"gpt-image-2.6-flare:official",
"gpt-image-2.5-sunburst",
"gpt-image-2.6-sunburst",
"gpt-image-2.5-sunburst:reverse",
"gpt-image-2.6-sunburst:reverse",
"gpt-image-2.5-sunburst:official",
"gpt-image-2.6-sunburst:official",
"gpt-image-2:reverse",
"gpt-image-2:official",
"nano-banana",
"nano-banana-2-lite",
"nano-banana-2",
"nano-banana-2.1",
"nano-banana-pro"
],
"type": "string",
"title": "Model",
"default": "dall-e-3",
"description": "The image model to use for editing. Options: 'dall-e-3' (default), 'gpt-image-1.5', 'gpt-image-2', 'gpt-image-2.5-flare', 'gpt-image-2.5-flare:reverse', 'gpt-image-2.5-flare:official', 'gpt-image-2.5-sunburst', 'gpt-image-2.5-sunburst:reverse', 'gpt-image-2.5-sunburst:official', 'gpt-image-2.6-flare', 'gpt-image-2.6-flare:reverse', 'gpt-image-2.6-flare:official', 'gpt-image-2.6-sunburst', 'gpt-image-2.6-sunburst:reverse', 'gpt-image-2.6-sunburst:official', 'dall-e-3', and 'nano-banana' variants including 'nano-banana-2.1' (no ':official' variant)."
},
"markup": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/ImageMarkup"
},
{
"type": "null"
}
],
"title": "Markup",
"default": null,
"description": "GPT Image 2.6 static edit annotation: HTTPS URL, PNG data URL or an object containing only image_url. PNG must contain transparent pixels and match the first reference after orientation; each image ≤ 16,777,216 pixels, annotation ≤ 40MB. Cannot combine with mask, GIF or prompt_rewriter; file_id is unsupported."
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Text description of the desired edit. GPT Image models allow up to 32000 characters; dall-e-2 allows up to 1000. Describe what you want to change or add to the image."
},
"quality": {
"enum": [
"auto",
"high",
"medium",
"low",
"xhigh",
"max",
"standard"
],
"type": "string",
"title": "Quality",
"default": "auto",
"description": "Output quality. GPT Image: 'auto' (default), 'high', 'medium', 'low'. GPT Image 2.5 and 2.6 Flare/Sunburst (including ':reverse' and ':official') also support 'xhigh' and 'max'. Official variants bill actual token usage. dall-e-2: 'standard' only."
},
"background": {
"anyOf": [
{
"enum": [
"transparent",
"opaque",
"auto"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Background",
"default": null,
"description": "Background handling. 'transparent' removes background, 'opaque' keeps it, 'auto' decides automatically."
},
"complexity": {
"anyOf": [
{
"enum": [
"low",
"medium",
"high"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Complexity",
"default": null,
"description": "GPT Image 2.6 only: planning complexity, independent of quality, with no separate surcharge. Omit for model default high; official variants still bill actual tokens."
},
"frame_count": {
"anyOf": [
{
"type": "integer",
"maximum": 16,
"minimum": 2
},
{
"type": "null"
}
],
"title": "Frame Count",
"default": null,
"description": "GIF frame count, 2-16. Defaults to 9."
},
"callback_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Callback Url",
"default": null,
"description": "Optional webhook URL. When provided, returns task_id immediately and POSTs result to this URL when complete."
},
"output_format": {
"enum": [
"png",
"jpeg",
"webp",
"gif"
],
"type": "string",
"title": "Output Format",
"default": "png",
"description": "Output format: png (default), jpeg, webp; gif for GPT Image 2.6 Flare/Sunburst (standard/reverse/official). GIF defaults to a 512x512 preview, 9 frames, 200ms per frame; static 4K sizes do not apply to GIF."
},
"input_fidelity": {
"anyOf": [
{
"enum": [
"high",
"low"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Input Fidelity",
"default": null,
"description": "Omit for GPT Image 2/2.5/2.6. For earlier supported models, high preserves more detail, 'low' allows more creative freedom."
},
"response_format": {
"enum": [
"url",
"b64_json"
],
"type": "string",
"title": "Response Format",
"default": "url",
"description": "How to return the image. 'url' (default) returns a URL, 'b64_json' returns base64-encoded image data."
},
"frame_duration_ms": {
"anyOf": [
{
"type": "integer",
"maximum": 655350,
"minimum": 20
},
{
"type": "null"
}
],
"title": "Frame Duration Ms",
"default": null,
"description": "GIF frame duration in milliseconds, 20-655350; rounded to 10ms. Defaults to 200."
},
"output_compression": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Output Compression",
"default": null,
"description": "Compression level (0-100%) for jpeg/webp output. Default is 100."
}
}
}List models from the OpenAI-compatible models endpoint. Returns: JSON response from GET /openai/models.
Parameters
{
"type": "object",
"title": "openai_get_modelsArguments",
"properties": {}
}Get realtime connection information from GET /v1/realtime.
Parameters
{
"type": "object",
"title": "openai_get_realtime_connection_infoArguments",
"properties": {
"model": {
"enum": [
"gpt-realtime-2.1",
"gpt-realtime-2.1-mini",
"gpt-realtime-2",
"gpt-realtime",
"gpt-realtime-mini"
],
"type": "string",
"title": "Model",
"default": "gpt-realtime-2.1",
"description": "Realtime model to use. Use gpt-realtime-2.1 for best quality or gpt-realtime-2.1-mini for lower cost."
},
"voice": {
"enum": [
"alloy",
"ash",
"ballad",
"coral",
"echo",
"sage",
"shimmer",
"verse",
"marin",
"cedar"
],
"type": "string",
"title": "Voice",
"default": "alloy",
"description": "Output voice selected when the connection is established."
}
}
}List all available chat completion models. Shows all models available for the chat completions and responses endpoints, including GPT-4, GPT-4o, GPT-5, and o-series models. Returns: Table of all chat models with descriptions.
Parameters
{
"type": "object",
"title": "openai_list_chat_modelsArguments",
"properties": {}
}List all available image generation and editing models. Shows all models available for the images/generations and images/edits endpoints. Returns: Table of all image models with descriptions.
Parameters
{
"type": "object",
"title": "openai_list_image_modelsArguments",
"properties": {}
}List all available text embedding models. Shows all models available for the embeddings endpoint. Returns: Table of all embedding models with descriptions.
Parameters
{
"type": "object",
"title": "openai_list_embedding_modelsArguments",
"properties": {}
}Get a comprehensive guide for using the OpenAI tools. Provides detailed information on how to use all available OpenAI tools effectively, including examples and best practices. Returns: Complete usage guide for OpenAI tools.
Parameters
{
"type": "object",
"title": "openai_get_usage_guideArguments",
"properties": {}
}Use OpenAI API by Ace Data Cloud in Feishu/Lark bots, DingTalk bots, WeCom bots, WeChat bots, QQ bots, Slack bots, Discord bots, Telegram bots, LINE Bots, and Matrix Bots.
Host your bot on LangBot Cloud and connect this extension to the collaboration platforms your team already uses.