dotCMS / dotCMS/core

[FEATURE] Image Generation & Visual AI

Open
#33,558 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem

Developers need SDK-level access to image generation capabilities to create visual content programmatically in their applications.

Goal

Provide complete image generation functionality through the SDK with proper TypeScript support and multiple output formats.

Target Personas

  • Developer teams
  • Content teams

Demo Expectations

// What can be demonstrated in bi-weekly demo
const imageResult = await client.ai.image.generate({
  prompt: 'A futuristic city skyline at sunset',
  size: '1024x1024',
  numberOfImages: 2
});
console.log(imageResult.url); // Generated image URL
console.log(imageResult.tempFileName); // dotCMS temp file reference

User Stories

  • As a developer, I want to integrate AI image generation into applications, so that I can create dynamic visual content programmatically
  • As a content team member, I want richer visual experiences in headless applications, so that I can create more engaging content without manual image creation
  • As a developer, I want multiple image size options and batch generation, so that I can optimize images for different use cases and generate multiple variations efficiently

Acceptance Criteria

  • Image generation endpoints implemented with full TypeScript support
  • Support for multiple image sizes (256x256, 512x512, 1024x1024, etc.)
  • Batch image generation capability (multiple images per request)
  • Integration with dotCMS asset management for generated images
  • Proper error handling for generation failures
  • Progress tracking for long-running generation requests

Links

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies client.ai.image.generate as the SDK entry point; start by reading the linked dotAI Image Generation API documentation and tracing that entry point in the repository. Done means the listed image sizes, batch generation, asset integration, error handling, progress tracking, and TypeScript support are implemented and demonstrable.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript
Domain
ai, api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.