Media AI
Package docs status
Section titled “Package docs status”This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.
| Field | Value |
|---|---|
| Composer package | capell-app/media-ai |
| Package slug | media-ai |
| Product group | Capell AI |
| Tier | paid |
| Bundle | ai |
| Runtime contexts | admin, console |
| Capell version | ^1.0 |
| Catalogue role | extension |
| Release channel | Beta |
| Docs source | packages/media-ai/docs |
| Manifest | capell.json |
The background on a product photo is wrong, and your editor wants to fix it in the admin. On the image’s edit page they choose Doctor image, which asks your image service to improve the photo, remove its background or an object, restore it or enlarge it. The work runs in the background.
The original always stays. A media library upload gains the edit as a new image beside it. In a one-image place, such as a page’s main image or the site logo, the editor finds the edit in the media library and uploads it there.
Media AI doesn’t include an image-editing service or a key for one. Your developer must connect your own service that accepts Media AI’s request and switch the feature on. Until then Doctor image is unavailable and says why. That service receives the image, the task, the editor’s instructions and the admin language.
Each editor can use it only on images they may edit, by default ten times an hour per image. Returned alt text or a caption is saved on the original, not the edit. Existing text stays unless the editor chooses otherwise. Batches start from the command line, never on a schedule or at upload.
When a job finishes, the editor gets a notification, linking to the result when it worked.
- Price and availability: Check current availability and price on the Capell Marketplace listing.
- Licence: Check the licence terms on the Capell Marketplace listing.
- Requires:
PHP ^8.4,capell-app/admin ^1.0,capell-app/ai-orchestrator ^1.0,capell-app/core ^1.0.79,filament/filament ^5.7.6,laravel/framework ^12.61.1|^13.12.0,lorisleiva/laravel-actions ^2.8,ramsey/uuid ^4.7,spatie/laravel-package-tools ^1.14.1. - Install:
composer require capell-app/media-ai.
Quick Start
Section titled “Quick Start”- Install the package:
composer require capell-app/media-ai. - Open a host admin workflow that uses the package extension and verify Media AI is available.
For Developers
Section titled “For Developers”The ImageDoctor contract isolates provider-specific image work, while the typed execution Action owns orchestration and keeps the queue job as a thin retry adapter.
Configure
Section titled “Configure”- Configuration files:
config/capell-media-ai.php. - Commands:
php artisan media-ai:doctor-batch,php artisan media-ai:restore-metadata.
Limits And Pitfalls
Section titled “Limits And Pitfalls”- Install the required Capell packages at the versions in
composer.json:capell-app/admin ^1.0,capell-app/ai-orchestrator ^1.0,capell-app/core ^1.0.79.
Screens And Workflow
Section titled “Screens And Workflow”


- Doctor image action on the installed media edit page (admin).
- Doctor image action modal with provider configured (admin).
- Media AI queued result notification (admin).
- Media AI batch doctor command output (frontend).
- Doctor image action modal with provider configured with admin sidebar menu open (admin).
Install Impact
Section titled “Install Impact”- Required packages:
capell-app/admin,capell-app/ai-orchestrator,capell-app/core. - Admin navigation: no admin page or resource contribution is declared.
- Admin/editor extensions:
configurator: MediaAIBatchCommandContribution,configurator: MediaAIEditActionContribution,configurator: MediaAIRestoreMetadataCommandContribution. - Permissions: no package permission declarations or Shield gates detected; host access rules still apply.
- Public routes: none declared.
- Database changes: no package migrations declared.
- Config:
config/capell-media-ai.php. - Settings: no package settings declared.
- Queues or schedules: queue jobs
RunImageDoctorJob. - Cache tags: none declared.
- Commands:
media-ai:doctor-batch,media-ai:restore-metadata.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| Package surface is missing after install | Provider or manifest is not loaded | Confirm capell.json, package composer.json, and provider registration | Reinstall the package, refresh Composer autoload, and clear host caches |
| Background work does not run | Queue worker or declared schedule is not active | Check the jobs and scheduled commands listed in Technical Shape | Start the queue worker or host scheduler, then run the focused command or package test |
Upgrading
Section titled “Upgrading”No manual steps between minor versions.
Read CHANGELOG.md before upgrading.
Next Steps
Section titled “Next Steps”- Package docs
- Overview
- Worked extension examples
- Admin guide
- Configuration files:
config/capell-media-ai.php. - Troubleshooting
- Developer reference
- Marketplace assets
- Capell content language plan
- Capell documentation design system
- Capell and package ERD notes
- Related packages: AI Orchestrator, Media Library, SEO Checks.