View as Markdown
astica.ai icon

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)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Describe Image inputs
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