- Category: images & design
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 4
- Triggers: 0
- Slug:
PHOTOROOM - Version: 20261101_00
- Instant: Supported on the latest version. Support varies by tool.
Tools
Edit Image
Edit Image
Slug:
PHOTOROOM_EDIT_IMAGEApply combined PhotoRoom v2 edits to an image URL or uploaded file. Sandbox output is free and watermarked, while live calls are charged; Composio-managed credentials support live calls only and cannot use templates.Instant: Supported on the latest version.Instant pricing: $0.10 per successful image editInput Parameters
Uniform outer margin: a ratio from 0 to 0.49, a percentage from 0% to 49% such as 30%, or a pixel value such as 100px.
Uniform padding around the subject: a ratio from 0 to 0.49, a percentage from 0% to 49% such as 30%, or a pixel value such as 100px.
Choose live for charged non-watermarked output, or sandbox for free watermarked output.
string ("ai.soft" | "ai.hard" | "ai.floating" | "ai.preset-soft" | "ai.preset-hard" | "ai.auto-with-overrides")
Shadow generation mode to apply; omit to leave shadows unchanged.
Use ai.fast for speed or ai.slow for higher quality; omit to skip upscaling.
Replace the background with a color name such as red or blue, or a hex value without # such as FF0000 or FF0000EE. Pass remove_background explicitly as false to instead only fill padding and transparent areas with this color.
Remove the source image background as part of this edit. Setting any background replacement field implies this, since PhotoRoom only replaces a background it has removed.
Remove artificial text, natural text, or all text; omit to keep detected text.
Output
Generate Image
Generate Image
Slug:
PHOTOROOM_GENERATE_IMAGEGenerate an image from a text prompt with PhotoRoom v2. Sandbox output is free and watermarked, while live calls are charged; Composio-managed credentials support live calls only.Instant: Supported on the latest version.Instant pricing: $0.10 per successful generated imageInput Parameters
Requested generated-image size.
Choose live for charged non-watermarked output, or sandbox for free watermarked output.
Remove the generated image background. Defaults to false so the scene described by the prompt is retained.
Output
Get Account Usage
Get Account Usage
Remove Background
Remove Background
Slug:
PHOTOROOM_REMOVE_BACKGROUNDRemove the background from one uploaded image using PhotoRoom’s Basic API. Sandbox output is free and watermarked, while live calls are charged; Composio-managed credentials support live calls only.Instant: Supported on the latest version.Instant pricing: $0.02 per successful background removalInput Parameters
Return the color image with transparency (rgba) or only the alpha mask (alpha).
Choose live for charged non-watermarked output, or sandbox for free watermarked output.