setup webhook

This commit is contained in:
Brandon Thomas committed 2026-05-08 19:23:58 -04:00
1 parent 24d49a2263
commit 5f9941a26a
3 files changed
+3 -1

No files matched your search

@@ -214,7 +214,7 @@ pub async fn beeble_switchx_edit_video_gen_handler(
reference_image_uri: maybe_reference_beeble_uri,
alpha_uri: None,
max_resolution: Some(1080),
callback_url: None,
callback_url: Some(server_state.beeble.webhook_url.clone()),
idempotency_key: Some(request.uuid_idempotency_token.clone()),
},
}).await.map_err(|err| {
@@ -479,6 +479,7 @@ async fn main() -> AnyhowResult<()> {
api_key: beeble_client::creds::beeble_api_key::BeebleApiKey::new(
easyenv::get_env_string_required("BEEBLE_API_KEY")?,
),
webhook_url: easyenv::get_env_string_required("BEEBLE_WEBHOOK_URL")?,
},
fal: FalData {
api_key: fal_api_key,
@@ -328,6 +328,7 @@ pub struct FalData {
#[derive(Clone)]
pub struct BeebleData {
pub api_key: BeebleApiKey,
pub webhook_url: String,
}
/// Seedance 2 Pro integration