astica.ai ACTION
Describe Image
Analyze an image with Astica AI See the documentation
- Action
- Read only
- API key
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's astica.ai account once, then configure and run Describe Image from your backend or agent.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "astica_ai-describe-image",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
astica_ai: { authProvisionId: "apn_xxxxxxx" },
image: "Image",
describe: true,
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "astica_ai-describe-image",
"configured_props": {
"astica_ai": { "authProvisionId": "apn_xxxxxxx" },
"image": "Image",
"describe": true
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "astica_ai",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "astica_ai-describe-image",
arguments: {
image: "Image",
describe: true,
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
image Image | string | The URL of the image to analyze Required |
describe Describe | boolean | Returns a caption which describes the image. Optional |
gpt GPT | boolean | Uses the result of asticaVision to create a GPT description. Using this parameter increases the processing time of your API request. Be Patient. Optional |
gpt_detailed GPT Detailed | boolean | Uses the result of asticaVision to create a GPT-4 description. Using this parameter greatly increases the processing time of your API request. Please be patient. Optional |
faces Faces | boolean | Returns the age and gender of all faces detected in the image. Optional |
moderate Moderate | boolean | Returns a calculated value for different types of sensitive materials found in the image. Optional |
tags Tags | boolean | Returns a list of descriptive terms which describe the image. Optional |
brands Brands | boolean | Returns a list of brands that have been identified. For example, a logo on a cup, or a t-shirt. Optional |
celebrities Celebrities | boolean | Returns a list of celebrities and other known persons that have been detected in the photo. Optional |
landmarks Landmarks | boolean | Returns a list of known locations and landmarks found in the photo. For example, the Eiffel Tower. Optional |
REFERENCE
Tool details
Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.
- Registry key
- astica_ai-describe-image
- Version
- 0.0.2
- App
- astica.ai
- Authentication
- API key
- Read-only
- Yes
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗