What do you want to automate

with BrainShop and fal.ai?

Prompt, edit and deploy AI agents that connect to BrainShop, fal.ai and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Add Request to Queue with the fal.ai API

Adds a request to the queue for asynchronous processing, including specifying a webhook URL for receiving updates. See the documentation

 
Try it
Cancel Request with the fal.ai API

Cancels a request in the queue. This allows you to stop a long-running task if it's no longer needed. See the documentation

 
Try it
Get Request Response with the fal.ai API

Gets the response of a completed request in the queue. This retrieves the results of your asynchronous task. See the documentation

 
Try it
Get Request Status with the fal.ai API

Gets the status of a request in the queue. This allows you to monitor the progress of your asynchronous tasks. See the documentation

 
Try it
Integrate the BrainShop API with the fal.ai API
Setup the BrainShop API trigger to run a workflow which integrates with the fal.ai API. Pipedream's integration platform allows you to integrate BrainShop and fal.ai remarkably fast. Free for developers.

Overview of BrainShop

The BrainShop API offers a conversational AI interface, allowing you to integrate a chatbot into various applications or services. On Pipedream, you can connect BrainShop API with numerous other apps to create dynamic workflows that respond to events or triggers. Leveraging Pipedream's serverless platform, you can automate interactions, analyze sentiment, and engage users with minimal effort.

Connect BrainShop

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    brainshop: {
      type: "app",
      app: "brainshop",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `http://api.brainshop.ai/get`,
      params: {
        bid: `${this.brainshop.$auth.brain_id}`,
        key: `${this.brainshop.$auth.api_key}`,
        uid: `1234`,
        msg: `Hello`,
      },
    })
  },
})

Connect fal.ai

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { fal } from "@fal-ai/client"

export default defineComponent({
  props: {
    fal_ai: {
      type: "app",
      app: "fal_ai",
    }
  },
  async run({ steps, $ }) {
    fal.config({
      credentials: `${this.fal_ai.$auth.api_key}`,
    });
    const result = await fal.subscribe("fal-ai/lora", {
      input: {
        model_name: "stabilityai/stable-diffusion-xl-base-1.0",
        prompt:
          "Photo of a rhino dressed suit and tie sitting at a table in a bar with a bar stools, award winning photography, Elke vogelsang",
      },
      logs: true,
    });
    return result;
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo