# inference.veo.fast.img2vid.v2

Source: https://docs.prodia.com/job-types/inference-veo-fast-img2vid-v2/

The `inference.veo.fast.img2vid.v2` job animates an input image into a video guided by a text prompt using Veo Fast.

```json
{
    "type": "inference.veo.fast.img2vid.v2",
    "config": {
        "prompt": "a red fox trotting through a snowy forest at golden hour",
        "image": "reference.png"
    }
}
```

Additional configuration:

- `negative_prompt` (string)
- `last_frame` (string)
- `generate_audio` (boolean; default `False`)
- `resolution` (string; one of `720p`, `1080p`; default `720p`)
- `aspect_ratio` (string; one of `16:9`, `9:16`; default `16:9`)
- `duration_seconds` (integer; one of `4`, `6`, `8`; default `8`)
- `person_generation` (string; one of `allow_adult`, `dont_allow`; default `allow_adult`)
- `seed` (integer)

This job type is also available under its partner alias `inference.partner.veo.fast.img2vid.v2`.

## Schema

```json
{
	"unevaluatedProperties": false,
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"properties": {
		"type": {
			"type": "string"
		},
		"config": {
			"unevaluatedProperties": false,
			"type": "object",
			"required": [
				"prompt"
			],
			"properties": {
				"image": {
					"type": "string",
					"format": "filename",
					"example": "reference.png",
					"description": "A reference image to start the video from."
				},
				"prompt": {
					"type": "string",
					"minLength": 0,
					"maxLength": 2500,
					"examples": [
						"puppies in a cloud, 4k"
					],
					"description": "A description of the desired output."
				},
				"negative_prompt": {
					"type": "string",
					"maxLength": 2500,
					"description": "Text to discourage specific content generation."
				},
				"last_frame": {
					"type": "string",
					"format": "filename",
					"example": "last_frame.png",
					"description": "An optional image to use as the last frame of the video."
				},
				"generate_audio": {
					"type": "boolean",
					"default": false,
					"description": "Add generated audio to the video."
				},
				"resolution": {
					"type": "string",
					"default": "720p",
					"enum": [
						"720p",
						"1080p"
					],
					"description": "Output video resolution."
				},
				"aspect_ratio": {
					"type": "string",
					"default": "16:9",
					"enum": [
						"16:9",
						"9:16"
					],
					"description": "Aspect ratio of output."
				},
				"duration_seconds": {
					"type": "integer",
					"default": 8,
					"enum": [
						4,
						6,
						8
					],
					"description": "Duration of the generated video in seconds."
				},
				"person_generation": {
					"type": "string",
					"default": "allow_adult",
					"enum": [
						"allow_adult",
						"dont_allow"
					],
					"description": "Person generation policy."
				},
				"seed": {
					"type": "integer",
					"examples": [
						42,
						531286735183442
					],
					"description": "Seed for random number generation."
				}
			}
		}
	},
	"$schema": "https://json-schema.org/draft/2020-12/schema"
}
```
