- Category: ai content generation
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 8
- Triggers: 0
- Slug:
IMAGEROUTER - Version: 00000000_00
Tools
Create Chat Completion
Create Chat Completion
Slug:
IMAGEROUTER_CREATE_CHAT_COMPLETIONCreate a non-streaming OpenAI-compatible chat completion with a paid text model. Call IMAGEROUTER_LIST_MODELS, IMAGEROUTER_GET_MODEL, and IMAGEROUTER_GET_CREDITS first to verify availability, context, supported parameters, pricing, and sufficient credits.Input Parameters
Exact text-output model ID from IMAGEROUTER_LIST_MODELS. Inspect its context, supported parameters, and pricing before this paid call.
Output
Create Response
Create Response
Slug:
IMAGEROUTER_CREATE_RESPONSECreate a non-streaming OpenAI Responses API result from plain text or structured multimodal input with a selected ImageRouter text model. Call IMAGEROUTER_LIST_MODELS and IMAGEROUTER_GET_CREDITS first because all text models observed during probing were paid. Streaming and SSE are not supported.Input Parameters
Plain prompt text or OpenAI Responses input items. Structured items may include model-supported multimodal content such as input_image parts.
Exact text-output model ID from IMAGEROUTER_LIST_MODELS. Inspect the model’s capabilities and pricing first because this call may consume credits.
Output
Edit Image
Edit Image
Slug:
IMAGEROUTER_EDIT_IMAGETransform or inpaint one or more existing images supplied as URLs or data URIs. Call IMAGEROUTER_LIST_MODELS and inspect the selected model first to verify image and optional mask input support, accepted parameters, pricing, and funding requirements. Multipart file uploads are not supported.Input Parameters
Optional mask URLs or data URIs for a model that accepts mask input. Provide 1-16 JSON string values when used.
Exact model ID from IMAGEROUTER_LIST_MODELS whose architecture accepts image input. Inspect its capabilities and pricing before editing.
Source image URLs or data URIs. Provide 1-16 JSON string values; binary multipart files are not supported.
Requested quality. Omit unless the selected model lists quality as a supported parameter.
Output
Generate Image
Generate Image
Slug:
IMAGEROUTER_GENERATE_IMAGEGenerate an image from a text prompt with a selected ImageRouter model. Call IMAGEROUTER_LIST_MODELS and inspect the selected model first because pricing, supported sizes and quality levels, and funding requirements vary. Results are returned as URLs; inline base64 output is not supported.Input Parameters
Exact image model ID from IMAGEROUTER_LIST_MODELS. Inspect the model’s capabilities and pricing before generation because production calls may consume credits or require a funded account.
Requested quality. Omit unless the selected model lists quality as a supported parameter.
Output
Generate Video
Generate Video
Slug:
IMAGEROUTER_GENERATE_VIDEOGenerate a video from text and optional URL or data-URI image inputs. Call IMAGEROUTER_LIST_MODELS and inspect the selected model first because pricing, accepted modalities, quality levels, sizes, and duration constraints vary. Results are returned as URLs; inline base64 output is not supported.Input Parameters
Exact video model ID from IMAGEROUTER_LIST_MODELS. Inspect the model’s capabilities and pricing before generation because production calls may consume credits or require a funded account.
Optional source image URLs or data URIs for image-to-video models. Multipart files are not supported.
Requested quality. Omit unless the selected model lists quality as a supported parameter.
Requested duration in seconds. Omit for the provider’s auto default; each model supports its own subset.
Output
Get Credits
Get Credits
Get Model
Get Model
List Models
List Models
Slug:
IMAGEROUTER_LIST_MODELSDiscover current ImageRouter model IDs, modalities, supported parameters, and pricing before generation. Filters may be combined. limit truncates results and cannot be continued; omit it for an exhaustive filtered list.Input Parameters
Set true for zero-priced models or false for paid models. Zero price does not guarantee access from an unfunded account.
Sort by name or provider alphabetically, price ascending, or date newest first.
Truncate the returned array to at most this many models. There is no next page or continuation token.
Comma-separated response fields to include, such as architecture,pricing,supported_parameters,parameters,aliases. The model ID is always returned.