Add ability to modify DALL·E 3 generated images
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Comienza con el modal Generate images en /wp-admin/upload.php?action=classifai-generate-image y revisa los cambios de DALL·E 3 de #717. Añade la acción Modify image, un textarea y el flujo Generate modifications usando el seed ID de cada imagen generada. La tarea estará terminada cuando las imágenes modificadas reemplacen a las originales en el modal y se haya resuelto el manejo del prompt y del alt-text.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your enhancement related to a problem? Please describe.
With the update in #717, we can now start to take advantage of some of the enhancements in the DALL·E 3 model. Let's look to extend our Generate images modal (e.g. /wp-admin/upload.php?action=classifai-generate-image) to add in a Modify image action link that further accepts textarea input which is then sent back to DALL·E 3.
When we receive the originally generated image(s) back from DALL·E 3 we'll want to ensure we capture the seed ID for each as that'll be needed for the modification step. We'll capture the desired modifications from the user via a textarea, then send that back to DALL·E 3 (e.g. "Modify image [#] with seed [seed-ID]: "), and then render the newly modified image(s) in place of the first image(s).
Designs
In this rough mockup, I'm recommending we first tweak our primary button and secondary action link such that the first two options on generated images are [Insert to Post] and then _Import to Media Library_. A third option here for _Modify image, when clicked, would present a textarea (with "add / remove / change image by..." placeholder text to help guide the user on what to enter) and a [Generate modifications] button. Clicking that button would send the image seed ID and described modifications back to DALL·E 3 and then render in place of the prior image(s) with the newly modified image(s).
Describe alternatives you've considered
There's some consideration for what we do with the original image prompt and modification text (especially if there are multiple modifications made). We currently show the original prompt in the initial textarea in the Generate images modal, so perhaps we continue to amend that text with the modification text? In terms of the alt text that's added to any imported/inserted generated image we could attempt to include that same prompt+modification(s) text (or albeit more lazily / easily stick with the original prompt text).
Code of Conduct
- I agree to follow this project's Code of Conduct
- Lenguaje dominante
- PHP
- Estrellas
- 714
- Forks
- 68
- Merge medio
- 4 h 32 min
- PR fusionados (30 d)
- 23
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de 10up/classifai
-
wpvc
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
wpvc
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Register ClassifAI functionality with the Abilities APIPosiblemente ocupada @nhrrob la tomó hace 10 días. Abiertohelp wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
10up/classifai#1249 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
OpenAI usage tracking: Project ID setting is ignoredPosiblemente ocupada @dajiaohuang la tomó hace 30 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
BYOK Openai modelsAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de 10up/classifai
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
firefly-iii/firefly-iii#13259 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Sync EN] Document the getLastErrors() return value change in the PHP 8.2 migration guide (#6107)Abiertosync-en
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
sync-en
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Перевод устарел
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día