# 'Maximum Version Size' or multiplier of augmented images when generating versions via API

**URL:** <https://discuss.roboflow.com/t/maximum-version-size-or-multiplier-of-augmented-images-when-generating-versions-via-api/3090>\
**Category:** 🤝  Community Help\
**Created:** [August 31, 2023, 1:03am UTC](https://discuss.roboflow.com/t/maximum-version-size-or-multiplier-of-augmented-images-when-generating-versions-via-api/3090 "2023-08-31T01:03:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Byron\_Yeh](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/byron_yeh/32/2436_2.png) [@Byron\_Yeh](https://discuss.roboflow.com/u/Byron_Yeh)\
**Post date:** [August 31, 2023, 1:03am UTC](https://discuss.roboflow.com/t/maximum-version-size-or-multiplier-of-augmented-images-when-generating-versions-via-api/3090/1 "2023-08-31T01:03:59Z")

</div>

![Screenshot 2023-08-31 at 8.59.06 AM](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/a/a2cf8f935b37975bdd78738cb73fc6e5d3ed47ff.png)

python script:  
ver = proj.generate\_version(settings={  
‘augmentation’: {‘saturation’: {‘percent’: 9}, ‘rgrayscale’: {‘percent’: 9}},  
‘preprocessing’: {‘auto-orient’: True)

Is here any argument to change ‘Maximum Version Size’?

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [September 9, 2023, 4:30am UTC](https://discuss.roboflow.com/t/maximum-version-size-or-multiplier-of-augmented-images-when-generating-versions-via-api/3090/3 "2023-09-09T04:30:47Z")

</div>

Hi @Byron_Yeh

Yes, there is! Under `augmentation`, there’s a property called `image` where you can set `versions` to any number you’d like. (Within the allowed limits of your plan, which if you are on the public plan would be 3)

It’d look something like this:

```auto
project.generate_version(settings={
  "augmentation": {
    "image": { "versions": 3 }
  },
  "preprocessing": {}
})

```

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [September 18, 2023, 12:41pm UTC](https://discuss.roboflow.com/t/maximum-version-size-or-multiplier-of-augmented-images-when-generating-versions-via-api/3090/4 "2023-09-18T12:41:13Z")

</div>

For future reference, we’ve updated the documentation with more details on the version generation options [here](https://docs.roboflow.com/api-reference/versions/create-a-project-version#project-version-creation-options), including the multiplier of augmented images for each original image.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [September 28, 2023, 12:42pm UTC](https://discuss.roboflow.com/t/maximum-version-size-or-multiplier-of-augmented-images-when-generating-versions-via-api/3090/5 "2023-09-28T12:42:04Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
