Question 280
During a controlled generative AI workflow test, engineers observe: A marketing designer requests a new visual product mockup and sends a descriptive text prompt to an API that supports text completion only, then treats the prose description as a failed image file. What is the appropriate remediation for this scenario?
Explanation
Correct Answer
The main issue is: A text-only generative model can discuss a visual concept but does not itself return the image pixels required by an image creation workflow. The appropriate correction is: Route the image-generation request to an approved image-capable diffusion or multimodal generation endpoint and validate the resulting media format. Verify success by checking: A controlled visual prompt returns an image in the expected content type and dimensions while a textual caption remains a separate optional deliverable.
Incorrect Answers
This action addresses prompt context exceeds model token window, whose causal condition is: A language model has a finite combined context budget for instructions, conversation, retrieved text and often generated output, so unlimited source concatenation is not supported. The current scenario instead requires attention to: A text-only generative model can discuss a visual concept but does not itself return the image pixels required by an image creation workflow.
This action addresses text summarization task assigned to image diffusion model, whose causal condition is: Diffusion models are typically designed to transform or generate modalities such as images, whereas the requested grounded natural-language summarization calls for a suitable text-capable language model. In this question the necessary remedy is “Route the image-generation request to an approved image-capable diffusion or multimodal generation endpoint and validate the resulting media format”, which this alternative does not provide.
This action addresses locally hosted model cannot serve peak workload reliably, whose causal condition is: A local inference deployment is constrained by provisioned compute and memory resources and does not automatically scale like an elastic hosted service. The observed condition is a marketing designer requests a new visual product mockup and sends a descriptive text prompt to an API that supports text completion only, then treats the prose description as a failed image file; this mechanism addresses another problem.