feat: add API process functionality

This commit adds comprehensive API process functionality including:
- Remote streaming support
- Session management and context handling
- Media type support (video/audio/image)
- Asset management and path isolation
- Workflow refactoring and optimization
- Security improvements and state violation handling
- Gallery and image resolution features
- Audio support
- Analysis tools
- Version guard

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
henryruhs
2025-12-20 14:35:07 +01:00
parent bed330f701
commit 423fee9d7f
82 changed files with 3424 additions and 806 deletions
+2 -5
View File
@@ -1,7 +1,7 @@
from shutil import which
from facefusion import metadata
from facefusion.curl_builder import chain, ping, run, set_timeout
from facefusion.curl_builder import chain, head, run
def test_run() -> None:
@@ -11,7 +11,4 @@ def test_run() -> None:
def test_chain() -> None:
assert chain(
ping(metadata.get('url')),
set_timeout(5)
) == [ '-I', metadata.get('url'), '--connect-timeout', '5' ]
assert chain(head(metadata.get('url'))) == [ '-I', metadata.get('url') ]