CLI commands 

Ai3 Core ships two Symfony console commands registered with TYPO3's CLI dispatcher.

ai3_core:credits 

Queries the Zak_ai credits endpoint and dumps the raw response.

Query available credits
vendor/bin/typo3 ai3_core:credits
Copied!

Output: A var_dump() of the decoded JSON response from GET /credits. Useful for verifying that ZAKAI_API_KEY is set correctly and the API is reachable.

ai3_core:process_tasks 

Fetches up to 100 pending GenerationTask records (ordered by UID ascending) and processes each one by calling the registered capability endpoint.

Process all pending generation tasks
vendor/bin/typo3 ai3_core:process_tasks
Copied!

Processing logic per task:

  1. Look up the capability identified by task.capability in the CapabilityRegistry.
  2. Call capability->endpoint->generate(image, prompt, language).
  3. If a result is returned, set task.result, mark the task as Done, and store task.generated_timestamp.
  4. Persist all changes.