Practice Exams:

Microsoft AI-103: Image and Video Generation with Safety Controls

AI & Machine Learning

Generating an image and producing a usable media asset are different engineering tasks. A model can return visually appealing content that is unusable because the subject is inconsistent, a brand element is wrong, an edit changes protected details, or the output violates a distribution policy. Video adds temporal consistency, asynchronous job handling and larger resource costs. Microsoft Foundry provides access to selected generative media models, but model availability, supported edits, region restrictions and preview conditions must be checked for each deployment. This article develops a workflow that begins with rights and requirements, tests output quality systematically and uses explicit safety controls before generated media reaches customers or downstream applications.

On this page
  1. Write an asset brief that can actually be tested
  2. Match image generation and editing to the job
  3. Evaluate video editing and model availability
  4. Treat video generation as a monitored job
  5. Apply safety policy before generation and again before release
  6. Isolate customer content and sensitive references
  7. Evaluate quality and cost together
  8. Publish through an auditable media pipeline

Write an asset brief that can actually be tested

Before choosing a model, describe the intended asset: format, aspect ratio, audience, required objects, forbidden content, reference material, branding requirements and delivery channel. State which aspects may vary creatively and which must remain stable. A product image might allow a different background but must not alter the product’s shape or label. A training video may prioritize accurate sequence and legible subtitles over cinematic style. These criteria help reviewers distinguish a model failure from an underspecified request. Generated-media decisions in Microsoft AI-103 should weigh usage rights, model availability, temporal quality and safety review before delivering an asset.

Gather reference assets only when the organization has appropriate rights and user consent. A prompt cannot grant permission to reproduce a third-party logo, a recognizable person or a protected character. Keep asset provenance, license terms and any restrictions with the job metadata. Treat source images and uploaded clips as potentially sensitive files, not disposable prompt attachments. Legal and brand review should apply to the inputs and outputs, especially when an automated pipeline generates many versions that could be published without a person viewing each one.

Match image generation and editing to the job

Image generation creates new visual content from instructions, while editing can preserve parts of a supplied image and change other regions. These tasks may be supported by different deployments, APIs and model versions. Confirm whether the chosen Foundry model supports reference images, masks, transparency, resolution controls and the specific editing operation. Avoid inferring that every image model supports inpainting or that an image model can be used for video. Document supported dimensions and accepted input formats before a production request is accepted.

Build a small evaluation set with a marketing product, a technical illustration and an accessibility-sensitive example. Test prompt clarity, object count, small text, alignment to reference material and edit boundaries. Use controlled comparisons where only one prompt or model parameter changes at a time. Human reviewers should record where a generated artifact distorts a factual diagram, changes product characteristics or invents a brand statement. A convincing result is not automatically an accurate one; correctness must be assessed against the original brief.

Treat image inpainting as an edit with an explicit preservation boundary. A product team might ask to replace a plain backdrop while retaining a product label, logo and serial number exactly. Define which pixels may change through a supported mask or reference image, then compare the source and result for geometry, labels and legal claims. Test the mask edge with several seeds and a reviewer-approved reference. A model that produces a more attractive object but silently changes the real product is a failed edit, regardless of aesthetic quality. The available controls depend on the specific image-model deployment; never assume every endpoint supports the same mask, reference or transparency inputs.

Evaluate video edits and model availability separately

Video editing requires a different test from new video generation. Microsoft’s Sora 2 video guidance describes preview-only remix and video-to-video capabilities, including generating a changed clip from an existing video. For a training clip, preserve the order of safety steps, the recognizable equipment and the spoken or displayed instructions while changing only the requested scene. Inspect the first and last frames, transitions, object persistence, subtitles and unintended visual changes; record the video/model revision and whether the requested edit was genuinely supported for the deployed region and API.

Video-editing support, regional availability and preview terms can change rapidly; do not promise a stable production interface. Microsoft’s retirement schedule lists October 15, 2026 as the retirement date for the December 8, 2025 Sora 2 preview version. Because that date has passed, verify supported models and API availability before designing a new long-lived workflow.

Add an explicit visual policy gate after generation: confirm rights to reference media, inspect for disallowed visual symbols and unexpected logos, verify brand requirements, and apply a watermark when the organization or platform policy requires one. A watermark is a provenance or disclosure mechanism, not proof that a generated image is factually correct. For prohibited outputs, retain only sanitized incident metadata under policy rather than automatically distributing the rejected asset. An approved final media artifact should be tied to the reviewer, source permissions, validation checklist and exact file version.

Treat video generation as a monitored job

Video generation usually needs an explicit job lifecycle rather than a single synchronous call. Store request identity, accepted prompt, input rights confirmation, model and version, job identifier, expected resource budget and current status. Poll at an appropriate interval or handle callbacks through authenticated endpoints, with clear handling for queued, processing, succeeded, rejected and failed states. Never interpret a timeout from the client as proof that the server did not create a job. Reconcile against the recorded job ID before sending a replacement that could double the cost.

Temporal quality requires separate criteria: visual continuity, object persistence, motion consistency, timing, video caption synchronization and safe transitions. A sequence can contain excellent individual frames yet tell a misleading story because an action happens in the wrong order. Review the generated result as a whole, not only its thumbnail. Confirm current model-specific restrictions on real people, copyrighted characters, reference images and duration. Microsoft documents selected video capabilities as preview; product maturity and availability should be verified for the exact date, model and region rather than generalized across all Foundry deployments.

Apply safety policy before generation and again before release

Input moderation can reject unsafe requests, but it does not ensure a safe or legally compliant output. Define blocked uses and escalation paths: deceptive endorsements, unauthorized likenesses, non-consensual imagery, protected brand imitation, sexual exploitation, graphic violence and other restricted categories. Apply content filters or safety classifiers supported by the chosen service and add appropriate downstream checks. Moderation decisions should be logged with policy and model version, not merely as a generic failure code that operators cannot investigate.

For high-reach outputs, require editorial review before publication. A creative asset can misrepresent a product even when it passes safety filters. If generated imagery conveys an important factual process, have a domain expert check the depicted equipment, steps, locations and accessibility labels. A public-facing workflow should include a clear correction or withdrawal procedure after a customer reports a problematic asset. When appropriate, label content as AI-generated and preserve its generation provenance and review decision in the asset management system.

Isolate customer content and sensitive references

An image-editing request may contain faces, internal diagrams or unreleased product details. Limit who can submit these files, where temporary copies are stored, and who can inspect generated assets. Avoid logging complete image bytes or signed file URLs into broadly accessible application traces. Maintain a retention policy that covers input files, intermediate frames, masks, model prompts and outputs. If a shared asset is used for testing, apply the same permissions that protect the production original.

Use least-privilege workload identities for storage and generation endpoints, and separate review permissions from publishing rights. A team member authorized to preview an asset should not necessarily be allowed to release it to every customer. Cross-tenant and cross-region data handling may introduce contractual constraints. Confirm the chosen service’s data-processing promises and region availability from current documentation, not from an unrelated model’s product page. A convenience feature should not silently bypass the organization’s established approval workflow.

Evaluate quality and cost together

Track the number of candidate generations required for one accepted asset, not just the model cost per request. A cheaper model that needs twelve retries and extensive editing can be more expensive overall than one that consistently meets the brief. Measure generation time, rejection rates, human review effort, visual defects and rights escalations. For video, include job queuing and storage costs, rendered duration and failed or abandoned jobs. Report each metric by asset type so a simple social graphic is not compared unfairly with a complex instructional clip.

A retailer may request twenty variations of a product photograph for three channels. Before the first generation, define which details must remain identical to the authorized product reference: labeling, proportions, color options and packaging warnings. Generate a controlled sample with recorded model version, prompt, references, seed where supported and output settings. Review the candidates against the actual product and flag edits that silently change a safety instruction or logo. A photorealistic picture can still be unusable if it represents a product that will never ship. Count accepted deliverables, not merely images returned by the API.

For the video version of that task, separate render cost, queue time, retry charges, review labor and distribution-format conversions. Store the remote job identifier and check its status after a client timeout rather than launching a duplicate render. If the visual result contains a visible person, trademark or training data supplied by a customer, verify the applicable usage rights before publication. Include one review case in which a generation violates the brief and must be rejected. Production cost per approved asset is the relevant unit; cost per request alone can reward a cheap model that produces unusable or risky output.

Keep a controlled benchmark of real briefs and reference materials with appropriate permissions. Record accepted prompt revisions and model versions, then rerun it after deployments change. Check whether new versions improve output fidelity without weakening safety or introducing unexpected style drift. Do not rely on a subjective average score alone; severe prohibited-content incidents and misrepresentations should remain visible even if most clips look good. Have reviewers document concrete defects so engineering can adjust prompts, inputs or the model choice rather than chasing a vague quality rating.

Publish through an auditable media pipeline

Separate draft generation, automated validation, human review and final distribution into recorded stages. Store the approved asset identifier, reviewer decision, provenance and target channel, then prevent later editing from silently replacing the approved bytes. For a public video, create a stable versioned output so corrections can be applied without losing incident evidence. Expire temporary files and revoke links that were created only for review. If generation fails, return a clear user-facing status and stop rather than substituting an unrelated asset.

The best media workflow is deliberately conservative about claims of perfection. Models can produce striking images and plausible movement, but they cannot certify the business truth of a product illustration or the rights to a reference photograph. Combine model capabilities with explicit requirements, controlled identities, safe job orchestration, suitable human review and documented rollback. These practices turn generative media from a sequence of impressive demos into a usable production capability with predictable responsibility for mistakes.

Continue learning

Related guides

Computer Vision and Multimodal AI in One ApplicationCombine image understanding, text extraction, and multimodal decision checks.Azure AI Content Safety in PracticeChoose input and output safety checks for measurable application risks.Threat Modeling Azure AI AppsMap AI service trust boundaries, attack paths, and mitigation ownership.Content Understanding for Messy DocumentsExtract structured evidence from irregular forms, tables, and documents.

Related Posts

• AI-102 Retired: The Current AI-103 Azure AI Developer Roadmap

• Mastering AI-102: A Complete Preparation Resource

• Understanding the Core of AI-102 and the Azure AI Engineer Role

• Microsoft AB-100: AI Across Dynamics 365, Power Platform, and Foundry

• Microsoft AI-900: What Changes With AI-901

• Microsoft AI-103: Blue-Green Releases for Azure AI

• Microsoft AI-103: Online Evaluation of AI Systems

• Microsoft AI-103: Securing Azure AI Endpoints

• Microsoft AB-100: DLP Policies for Copilot Studio

• Microsoft AB-100: Human Handoff in Copilot Studio