Skip to content

feat: Add webhookURL support for all inference types#161

Merged
Sirsho1997 merged 3 commits intomainfrom
feature-webhookurl-support
Oct 3, 2025
Merged

feat: Add webhookURL support for all inference types#161
Sirsho1997 merged 3 commits intomainfrom
feature-webhookurl-support

Conversation

@Sirsho1997
Copy link
Copy Markdown
Collaborator

  • Add webhookURL parameter to all inference classes (IPhotoMaker, IImageCaption, IPromptEnhance, IImageUpscale, IVideoInference, IAudioInference)
  • Add IAsyncTaskResponse class for webhook response handling
  • Add createAsyncTaskResponse utility function in utils.py
  • Update base.py methods to support webhookURL in requests
  • Add webhook response detection logic for async tasks
  • Maintain backward compatibility with existing functionality

Resolved conflicts from #149

- Add webhookURL parameter to all inference classes (IPhotoMaker, IImageCaption, IPromptEnhance, IImageUpscale, IVideoInference, IAudioInference)
- Add IAsyncTaskResponse class for webhook response handling
- Add createAsyncTaskResponse utility function in utils.py
- Update base.py methods to support webhookURL in requests
- Add webhook response detection logic for async tasks
- Maintain backward compatibility with existing functionality
- Add comprehensive webhook usage documentation
- Include example code for asynchronous processing
- Document webhook payload format
- List all supported operations with webhook support
- Add webhookURL support for all inference types
- Include comprehensive webhook documentation
- Support asynchronous processing with webhooks
@Sirsho1997 Sirsho1997 merged commit 58b7da3 into main Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant