Intelligence Artificielle
2025
Extraits de projets d'animation de Terminales options Arts Plastiques et d'élèves de classe préparatoire
Workflow
Nous allons utiliser non pas une, ni deux mais plusieurs type d'IA dans nos projets. Ce sont des I.A., légales et open sources, ce qui veut dire qu'on peut les utiliser sans avoir à payer pour leur utilisation. Pour le faire, on les utilise en local, ce qui veut dire que c'est notre ordinateur qui produit les images et on n'a pas besoin de les faire tourner sur des servers distants, plus rapides mais payants et plus poluants.
Nous allons utiliser plusieurs types d'intellignences artificielle : Une I.A. qui transforme du texte en image. Une I.A. qui transforme une image en vidéo. Une I.A. qui transforme du texte en français en texte en anglais.
Créer des vidéos
un exemple de vidéos que l'on peut actuellement créer en 2025
Voila un exemple parfait de quelque chose qu'il n'est pas possible d'avoir d'un coup avec des I.A. On peut croiser les doigts et espéréer que cela va marcher du premier coup avec l'aide d'un prompt. Si on a de la chance, cela peut arriver parfois, mais on a tres peu de controle. Deux vidéos avec un personnage fantaisiste comme celui la est impossible, meme avec le meilleur des prompts. Alors qu'en séparant le travail en plusieurs étapes, on va pouvoir garder le meme personnage sur plusieurs plans ! Tout commence par la recherche des éléments séparément. Vous pouvez inventer un personnage et un décors que vous avez créé traditionnellement, ou par I.A.
Workflow rapide de la générartion d'un plan.
On rentrera dans le détail phase par phase ensuite.
Etape 01
Mon histoire se passe dans un monde post apocalyptique.
je pars donc d'un décors d'un data center abandonné.
Etape 02
Je change sa direction artistique grâce a une IA texte-to-image.
Etape 03
Je trouve un personnage
Etape 04
Je l'adapte grace a une IA texte-to-image.
Etape 05
Je l'adapte sur tous les angles grace a une IA texte-to-image.
Etape 06
Je le place dans le décors avec GIMP. Actuellement l'A.A a du mal à intégrer plusieurs parsonnage dans un décors. Elle y arrive parfois.
Etape 07 Je décris l'action que je veux faire en français. Je fais ensuite traduire le texte en anglais à Mistral ai qui me génère le texte suivant : Animate the character in the center of the picture as follows: First, the character slowly opens its eyes, then gently moves its head as if waking up or becoming aware of its surroundings. Finally, the character smoothly rises to its feet, standing upright in a natural and fluid motion. The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture. The camera remains fixed. The background stays unchanged.
Etape 08 A partir de l'image et du texte, je peux générer la vidéo. Cela n'empeche pas d'avoir quelque surprises !
Workflow détaillé de la générartion d'un plan.
Etape 01
Mon histoire se passe dans un monde post apocalyptique.
je pars donc d'un décors d'un data center abandonné.
On utilise un logiciel spécial, Stability matrix. Stability Matrix, c'est le doux nom que porte ce projet open-source (et gratuit), qui nous permet en quelques clics de télécharger et servir en local des modèles Stable Diffusion + une ou des interfaces webui !
Sur votre ordinateur à la prépa, je l'ai installé en local. On va pouvoir faire tous les rendus directement sur l'ordinateur, en suivant un "workflow" que je n'ai pas inventé, mais qui à été fourni gratuitement par toute une communauté Open Source à qui je rend hommage ici !Cette premiere vidéo nous a permis d'ouvrir une des quatre i.A. présente sur le disque dur. Cette dernière permet de modifier des images existantes. Je la trouve tout à fait formidable. Flux est un modèle texte-image développé par Black Forest Labs, basé à Fribourg-en-Brisgau, Allemagne. Black Forest Labs se fonde sur d'anciens employés de Stability AI. Comme les autres modèles de texte en image, Flux génère des images à partir de descriptions guidées en langage naturel, appelées prompts.
Pour que cela marche on va prendre choisir une image que l'on va vouloir modifier
On utilise tout de suite une autre I.A. qui va nous aider à créer nore prompt. Un prompt se construit de cette manière afin de permettre à l'i a de bien comprendre notre demande. La métode de construction de prompt que j'utilise ici est le prompt-jeux-de-role. En voila un exemple : Bonjour. Peux-tu m’aider dans la tâche suivante ? J’ai besoin que tu traduises le texte ci-dessous en anglais afin qu’une intelligence artificielle spécialisée dans l’édition d’images puisse travailler correctement. Voici le texte à traduire : Le personnage est un monstre recouvert de mousse. Comme on utilise des ia open source, il faut leur parler en Anglais. Du coup, pour le faire, j'utilise Mistral AI.
The character is a moss-covered monster.
Maintenant que les préparatifs sont faits, il est temps de voir l'i.a.travailler.
On recupère le résultat ici.
Lorsqu'on fait des modification simples, une phrase simple et claire est souvent la meilleure façon de communiquer ce que l'on veut.
Là on découvre tout le potentiel de l'I.A.
Imagine a side-angle shot of the character, clearly showing their profile as they stand/move.
Show the character from behind, capturing their back and posture clearly.
Remove the background from the image and replace it with a solid neutral color. Do not modify or alter the central character in any way.
Cela prépare l'intégration sous gimp. Cela justifie presque à lui seul toutes les manipulations que l'on a apprise sous Gimp !
Afin de simùplifier le travail de l'IA, on réalise la composition finale du plan et on l'enregistre sur un format 1280 x 720 pixels. Au dela, la génération prends trop de temps... voire plante !
On va désormais animer le personnage !
On commence par écrire le prompt en francais : J'ai de nouveau besoin de toi. j'ai besoin de ton aide pour le travail suivant : J'ai besoin d'un prompt en anglais pour une ia de génération d'image. Elle doit faire le travail suivant : Le personnage ouvre les yeux, bouge la tête puis se met debout sur ses pieds. Réponse de mistral ai : Animate the character as follows: First, the character slowly opens its eyes, then gently moves its head as if waking up or becoming aware of its surroundings. Finally, the character smoothly rises to its feet, standing upright in a natural and fluid motion. The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture.
On va utiliser une autre intellignece artificielle, chinoise celle là, nommée WAN 2.2
Si jusqu'ici, je laissais la vidéo en temps réel, désormais il faut attendre entre 45 mn et 1h 30 pour voir le résultat !
Autres exemples
Un autre exemple, utilisant d'autres types de personnages avec la même démarche
Parfois, losrsqu'on est pas assez précis, l'I.A. nous montre que ce qui semble évident ne l'est pas forcément....
On peut aussi commencer à créér un personnage avec de l'argile. Cela marche également très bien.
D'autres types d'expérimentations avec différents types d'image.
Le prompt est en trois étapes : Animate the character as follows: The camera remains fixed and does not move. he male character in the foreground turns toward the young girl and kisses her on the mouth. The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture.
Le prompt est en trois étapes : Animate the character as follows: The camera remains fixed and does not move. TThe female character in the foreground bursts into a psychopathic, sadistic laugh. She tilts her head slightly to the side. The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture.
Le prompt est en trois étapes : Animate the character as follows: The camera remains fixed and does not move. The planes fly at extremely high speed through the canyon in a straight line. The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture.
Le prompt est en trois étapes : Animate the character as follows: The camera remains fixed and does not move. The cats dance together, making small jumps from right to left. They are very happy together. The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture.
Le prompt est en trois étapes : Animate the character as follows: The camera slowly zooms in on the man’s face as he stares straight ahead. Then, he suddenly screams at the top of his lungs while looking directly into the camera! The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture.
Le prompt est en trois étapes : Animate the character as follows: The camera slowly zooms in on the woman’s face as she stares straight ahead. Then, she puts on her pilot helmet and continues looking straight forward. The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture.
Le prompt est en trois étapes : Animate the character as follows: The camera is centered on the man’s eyes in the middle of his face as he stares straight ahead. Then, the camera slowly zooms out while the character removes his hood, revealing his hair. His hairstyle is an afro, and his hair is dyed in rainbow colors The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture.
Le prompt est en trois étapes : Animate the character as follows: The camera remains fixed and does not move. The camera is centered on the man’s eyes in the middle of his face as he stares straight ahead. Then, the camera slowly zooms out while the character raises a dagger he holds in his hand, pointing it toward the camera. The dagger is adorned with oriental patterns that resemble LEDs emitting a faint green glow. The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture.
Le prompt est en trois étapes : Animate the character as follows: The camera remains fixed and does not move. The camera is centered on the character’s eyes in the middle of their face. First, they react with surprise, then they run away! The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture.
Le prompt est en trois étapes : Animate the character as follows: The camera remains fixed and does not move. The camera remains fixed and does not move. The two girls approach it on all fours, moving with agility like monkeys. At the end, only their faces are visible as they look directly into the camera. The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture.
Le prompt est en trois étapes : Animate the character as follows: The camera remains fixed and does not move. The face closes its eyes, then gently moves its head from right to left before sighing in despair. The movement should be realistic, with attention to weight, balance, and subtle details like joint articulation and shifts in posture.
Telephone
06 13 72 75 33lycée Louis et Auguste Lumière
50 boulevard des Etats Unis69008 LYON