@api-emulator/capcut
v0.2.2
Published
CapCut-style creative APIs manage templates, projects, media inputs, and render task polling for video automation workflows.
Readme
@api-emulator/capcut
CapCut-style creative APIs manage templates, projects, media inputs, and render task polling for video automation workflows.
Use this emulator for local tests, CI, and offline agent runs. It keeps your tests separate from the production API.
Start the emulator
- Install the package.
npm install @api-emulator/capcut- From this registry, start the emulator.
npx -p api-emulator api --plugin ./providers/@capcut/api-emulator.mjs --service capcutThe emulator uses the local URL that api-emulator prints. Set your client base URL to this local URL.
Supported API
The emulator source lists the supported local API endpoints.
Coverage
- Level:
stub - Meaning: This emulator has a small starter API.
- Evidence: starter surface with smoke coverage.
Credentials
Use a fixed bearer token or API key in each test. The emulator does not send these credentials to the provider.
Test data
Add repeatable test data to the provider configuration.
capcut:
# Add provider-specific seed state here.