The generative media platform for developers
Adds a request to the queue for asynchronous processing, including specifying a webhook URL for receiving updates. See the documentation.
Cancels a request in the queue. This allows you to stop a long-running task if it's no longer needed. See the documentation.
Cancel a payment intent. Once canceled, no additional charges will be made by the payment intent and any operations on the payment intent will fail with an error. For payment intents with status=requires_capture
, the remaining amount_capturable will automatically be refunded. See the docs for more information
Gets the response of a completed request in the queue. This retrieves the results of your asynchronous task. See the documentation.
Cancel or reverse a payout. A payout can be canceled only if it has not yet been paid out. A payout can be reversed only if it has already been paid out. Funds will be refunded to your available balance. See the docs for more information
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;
},
})
The Stripe API is a powerful tool for managing online payments, subscriptions, and invoices. With Pipedream, you can leverage this API to automate payment processing, monitor transactions, and sync billing data with other services. Pipedream's no-code platform allows for quick integration and creation of serverless workflows that react to Stripe events in real-time. For instance, you might automatically update customer records, send personalized emails after successful payments, or escalate failed transactions to your support team.
import stripe from 'stripe'
export default defineComponent({
props: {
stripe: {
type: "app",
app: "stripe",
}
},
async run({steps, $}) {
const client = stripe(this.stripe.$auth.api_key)
return await client.accounts.list({ limit: 1 })
},
})