Skip to content

Media AI

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 premium
Bundle ai
Runtime contexts admin, console
Capell version ^1.0
Catalogue role extension
Release channel Beta
Source repository capell-app/packages
Source path packages/media-ai
Docs source packages/media-ai/docs
Manifest capell.json

Media AI is an Available, No schema impact Capell package in the Capell AI product group. It ships as capell-app/media-ai and extends these surfaces: admin, console.

Media AI adds an Image Doctor seam that can generate replacement image output and apply approved metadata through a typed queued workflow.

When a real Image Doctor provider is bound, editors can run Doctor from media editing and review the generated result beside the original. The action stays hidden with the default null provider.

Evidence: src/Contracts/ImageDoctor.php, src/Actions/ApplyImageDoctorMetadataAction.php, src/Jobs/RunImageDoctorJob.php, tests/Feature/ApplyImageDoctorMetadataActionTest.php, src/Filament/MediaAIEditActionExtender.php, src/Support/NullImageDoctor.php, tests/Feature/MediaAIEditActionTest.php.

Status details:

  • Status: Available
  • Tier: premium
  • Bundle: ai
  • Composer package: capell-app/media-ai
  • Namespace: Capell\MediaAI
  • Theme key: not applicable

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.

For teams: Editors can request image corrections without overwriting the source asset, provided the site has an Image Doctor provider configured.

Evidence: src/Contracts/ImageDoctor.php, src/Jobs/RunImageDoctorJob.php, src/Actions/ApplyImageDoctorMetadataAction.php, src/Support/AIOrchestratorImageDoctor.php, docs/overview.admin.md, tests/Feature/ImageDoctorRequestTest.php, tests/Feature/MediaAIEditActionTest.php.

Screenshot contract: docs/screenshots.json.

Doctor image action on the installed media edit page Doctor image action on the installed media edit page

Doctor image action modal with provider configured

  • Doctor image action on the installed media edit page (admin, required authentic evidence).
  • Doctor image action modal with provider configured (admin, supplementary evidence).
  • Media AI queued result notification (admin, supplementary evidence).
  • Media AI batch doctor command output (frontend, supplementary evidence).
  • Doctor image action modal with provider configured with admin sidebar menu open (admin, supplementary evidence).
  • Service providers: Capell\MediaAI\Providers\MediaAIServiceProvider.
  • Config files: packages/media-ai/config/capell-media-ai.php.
  • Filament classes: MediaAIEditActionExtender.
  • Extension contracts: ImageDoctor, WebsiteMediaAcquisitionProvider, WebsiteMediaAssetRepository, WebsiteMediaProviderAttestationVerifier.
  • Actions: AcquireWebsiteMediaAction, ApplyImageDoctorMetadataAction, BuildWebsiteMediaResultAction, CaptureImageDoctorExecutionContextAction, ExecuteImageDoctorRequestAction, QueueBatchImageDoctorRequestsAction, QueueImageDoctorRequestAction, ResolveAuthorizedImageDoctorMediaAction.
  • Data objects: ImageDoctorExecutionContext, ImageDoctorExecutionResultData, ImageDoctorRequest, ImageDoctorResult, WebsiteMediaAcquisitionResultData, WebsiteMediaAssetCandidateData, WebsiteMediaAssetEvidenceData, WebsiteMediaAssetReceiptData, WebsiteMediaLicencePolicyData, WebsiteMediaProviderAttestationData, WebsiteMediaProviderResponseData, WebsiteMediaRequestData, and 2 more.
  • Jobs: RunImageDoctorJob.
  • Command signatures: media-ai:doctor-batch.
  • Console command classes: QueueImageDoctorBatchCommand.
  • Manifest contributions: configurator: Capell\MediaAI\Manifest\MediaAIBatchCommandContribution, configurator: Capell\MediaAI\Manifest\MediaAIEditActionContribution, health-check: Capell\MediaAI\Manifest\MediaAIHealthContribution.
  • Health checks: Capell\MediaAI\Health\MediaAIHealthCheck.

This package has no schema impact. It extends Capell through configurator contributions and health-check contributions instead of declaring package-owned tables.

  • 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.
  • Permissions: none declared in capell.json.
  • 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.
  • Keep required Capell packages on compatible v4 releases: capell-app/admin, capell-app/ai-orchestrator, capell-app/core.
  • Review package configuration before production-like verification: config/capell-media-ai.php.
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
  1. Install the package: composer require capell-app/media-ai.
  2. Review config/capell-media-ai.php before enabling the package.
  3. Open the package admin surface at /media/{first-record}/edit and confirm Media AI is available.