Large Model Code and Animation Generation: A Hands-On Look at Uneven Capabilities
This article reports a hands-on test of a new-generation large model using real tasks instead of public benchmarks. Overall generation quality has improved, but capabilities are uneven: instruction following, code structure, and runnability are strong, while visual common sense, spatial orientation, and occlusion are often missed. The core case is a single-file HTML page that uses SVG to animate a pelican riding a bicycle. The article walks through the observed failures, explains why this unevenness happens across training distribution, representation, and self-checking, and shares reusable engineering practices such as front-loaded constraints, a self-check checklist, dual-channel review, and cloud-based retry pipelines.
1. The Bottom Line: Capability Is Growing, but So Is Unevenness
After the official release of a recent new-generation large model, community feedback split in two directions: some said it was “nothing special,” while others felt it “exceeded expectations.” After running a set of real tasks rather than standardized leaderboards, I reached a more specific conclusion: overall generation quality has indeed improved, but the capability distribution is not balanced. The model shows clear signs of unevenness. It performs well on instruction following, code structure, and runnability, yet it tends to overlook “obvious at a glance” issues such as visual common sense, spatial orientation, and occlusion relationships.
A note on scope first: this is not a benchmark. It consists of a few practical cases that differ in complexity, context length, and tool-calling setup. The conclusions apply only to these specific outputs and should not be extrapolated into a model ranking. The test conditions were a general-purpose large model inference service running at a higher reasoning effort in standard mode, with an image recognition plugin attached to an AI coding tool so the model could “look at its own output and self-check.”
2. Test Method: Real Tasks Instead of Leaderboards
I chose real tasks over public leaderboards for three reasons:
- Leaderboard questions are often covered by training data, creating a risk of “memorized answers.”
- Real tasks contain implicit constraints (for example, “hands must grip the handlebar” and “orientation must match the direction of motion”), which better test common-sense reasoning.
- Real tasks can include a multimodal self-check step, making it possible to observe the model’s self-correction loop.
The core case was to generate an HTML page that uses SVG to draw a 2D animation of a pelican riding a bicycle. The task looks simple, but it actually tests four capabilities at once: structured front-end code generation, SVG path and layer organization, physical common sense (circular pedaling motion, hands on the handlebar), and spatial orientation consistency.
3. What Happened: Three Typical Problems
The first output ran, but had three problems:
- The limbs did not contact the handlebar, missing any gripping constraint.
- The subject’s orientation did not match the direction of travel (a spatial orientation error).
- The legs and pedals were not linked, so the pedaling motion looked like a “pasted-on” swing.
After the image recognition plugin was connected, the model caught problem 1 on its own but missed problem 2. After a manual hint, it was able to locate and fix the orientation. The corrected version improved noticeably in motion continuity, but the limb shapes were still rough, with unnatural angles and intersections.
I then ran the same case with another general-purpose model. It performed more coherently on “legs following the pedals in circular motion,” and although the overall proportions were on the thin side, the structure was sound. This comparison shows that different models emphasize different capabilities on the same task, so selection should be based on “the one thing you care about most.”
4. Why the Unevenness Happens: Three Levels of Explanation
- Training distribution: Code and common UI structures make up a large share of the corpus, so the model is more “practiced” at them. Spatial relationships among multiple objects are long-tail and tend to be averaged out.
- Representation: Text tokens encode “up/down/left/right and front/back occlusion” less naturally than pixels, so pure text reasoning can lose orientation information.
- Self-checking: Multimodal self-review depends on a “look, compare, correct” loop. If the prompt does not define explicit acceptance criteria, the model tends to check only the most obvious problem.
5. Reusable Engineering Practices
Turning a “feeling” into something “verifiable” is the key to stable output. A workflow of “front-loaded constraints + self-check checklist + dual-channel review” is recommended.
Front-loaded constraints: Explicitly list hard constraints in the prompt and provide acceptance criteria.
Task: single-file HTML + SVG, 2D looping animation, 4s duration, seamless loop.Hard constraints:1) The subject's orientation must match the direction of motion (if moving right, the head faces right);2) Both hands must stay in contact with the handlebar, with contact-point error visually invisible;3) Both feet are bound to the pedals and move in circles, with angular velocity matching the crank;4) No external dependencies, no network requests, openable in an offline environment.Acceptance: list the 5 items you self-check, and give "pass/fail + reason" for each.
Self-check checklist: Have the model answer each item after producing the output, breaking “take a look” into questions that can be judged.
Self-check items:- Orientation consistency- Gripping contact- Pedaling linkage- Occlusion layering (near-side limbs cover far-side ones)- Seamless loop (first and last frames match)
Dual-channel review: One channel uses the vision recognition plugin to “describe what it sees,” and the other uses manual review or a rule-based script to check structure (for example, whether it is a single file and whether there are external links). When the two channels disagree, the hard constraints take precedence.
6. Running It on the Cloud
To productize this kind of capability, you can rely on a combination of general cloud capabilities: use a container platform to host inference and rendering services, use object storage to save artifacts and screenshots, use a message queue to decouple the “generate, validate, retry” pipeline, and use logging and monitoring with alerts to track failure and retry rates. Baidu AI Cloud offers corresponding capabilities in these general categories, which can be combined as needed without binding to a specific model.
On the engineering side, add “automatic retry + constraint injection”: when a self-check item fails, automatically append the failed item to the prompt as a new constraint, retrying up to N times. Also record the failure type each time to build your team’s own “unevenness profile,” which can guide later model selection and prompt iteration.
7. Conclusion
The question for this generation of models is not “does it work or not,” but “where it works and where it does not.” By writing implicit common sense as explicit constraints, turning subjective impressions into an acceptance checklist, and combining multimodal self-checking with a cloud-based pipeline, you can turn occasional “surprises” into stable delivery.
